In RGB color space, #9842c0 hex color has a red value of 152, a green value of 66 and a blue value of 192.
In CMYK color space (used in color printing), #9842c0 hex color is composed of 20.83% cyan, 65.63% magenta, 0% yellow and 24.71% black.
#9842c0 color has a hue of 281 degrees, a saturation of 50% and a lightness of 50.6%.
#9842c0 hex color contains mainly BLUE.
The closest web safe color of #9842c0 is #9933cc
#9842c0 hex color has a decimal value of 9978560.
HEX | 9842c0 | #9842c0 |
---|---|---|
RGB | 152, 66, 192 | rgb(152, 66, 192) |
RGB Percent | 59.61, 25.88, 75.29 | rgb(59.61, 25.88, 75.29) |
CMYK | 21, 66, 0, 25 | |
HSL | 281°, 50, 50.6 | hsl(281, 50%, 50.6%) |
HSV | 281°, 65.6, 75.3 |
XYZ | 24.412, 14.378, 51.358 |
---|---|
Hunter Lab | 37.918, 48.562, -53.762 |
CIE-LAB | 44.77, 55.887, -50.908 |
CIE-LCH | 44.77, 75.597, 317.669 |
CIE-LUV | 20.83, 65.63, 0, 24.71 |
Web Safe | 9933cc |
RGB percent of color #9842c0
CMYK percent of color #9842c0
Text with hexadecimal color #9842c0
This text has a font color of #9842c0
<p style="color:#9842c0">Text here</p>
#9842c0 Background Color
This box has a background color of #9842c0
<div style="background-color:#9842c0">Text here</div>
#9842c0 Border Color
This box has a border color of #9842c0
<div style="border: 4px solid #9842c0">Text here</div>
CSS codes
<p style="color:#9842c0">Text here</p>
<div style="background-color:#9842c0">Text here</div>
<div style="border: 4px solid #9842c0">Text here</div>
#9842c0 Color on white background
This is how a font and box color of #9842c0 will look
on a white background.
#9842c0 Color on black background
This is how a font and box color of #9842c0 hex color will look
on a black background.