In RGB color space, #9840c2 hex color has a red value of 152, a green value of 64 and a blue value of 194.
In CMYK color space (used in color printing), #9840c2 hex color is composed of 21.65% cyan, 67.01% magenta, 0% yellow and 23.92% black.
#9840c2 color has a hue of 280.6 degrees, a saturation of 51.59% and a lightness of 50.6%.
#9840c2 hex color contains mainly BLUE.
The closest web safe color of #9840c2 is #9933cc
#9840c2 hex color has a decimal value of 9978050.
HEX | 9840c2 | #9840c2 |
---|---|---|
RGB | 152, 64, 194 | rgb(152, 64, 194) |
RGB Percent | 59.61, 25.1, 76.08 | rgb(59.61, 25.1, 76.08) |
CMYK | 22, 67, 0, 24 | |
HSL | 280.6°, 51.59, 50.6 | hsl(280.6, 51.59%, 50.6%) |
HSV | 280.6°, 67, 76.1 |
XYZ | 24.52, 14.237, 52.495 |
---|---|
Hunter Lab | 37.732, 49.967, -56.076 |
CIE-LAB | 44.571, 57.214, -52.393 |
CIE-LCH | 44.571, 77.579, 317.518 |
CIE-LUV | 21.65, 67.01, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #9840c2
CMYK percent of color #9840c2
Text with hexadecimal color #9840c2
This text has a font color of #9840c2
<p style="color:#9840c2">Text here</p>
#9840c2 Background Color
This box has a background color of #9840c2
<div style="background-color:#9840c2">Text here</div>
#9840c2 Border Color
This box has a border color of #9840c2
<div style="border: 4px solid #9840c2">Text here</div>
CSS codes
<p style="color:#9840c2">Text here</p>
<div style="background-color:#9840c2">Text here</div>
<div style="border: 4px solid #9840c2">Text here</div>
#9840c2 Color on white background
This is how a font and box color of #9840c2 will look
on a white background.
#9840c2 Color on black background
This is how a font and box color of #9840c2 hex color will look
on a black background.