In RGB color space, #9840a2 hex color has a red value of 152, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #9840a2 hex color is composed of 6.17% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#9840a2 color has a hue of 293.9 degrees, a saturation of 43.36% and a lightness of 44.3%.
#9840a2 hex color contains mainly BLUE.
The closest web safe color of #9840a2 is #993399
#9840a2 hex color has a decimal value of 9978018.
HEX | 9840a2 | #9840a2 |
---|---|---|
RGB | 152, 64, 162 | rgb(152, 64, 162) |
RGB Percent | 59.61, 25.1, 63.53 | rgb(59.61, 25.1, 63.53) |
CMYK | 6, 60, 0, 36 | |
HSL | 293.9°, 43.36, 44.3 | hsl(293.9, 43.36%, 44.3%) |
HSV | 293.9°, 60.5, 63.5 |
XYZ | 21.304, 12.951, 35.559 |
---|---|
Hunter Lab | 35.987, 42.691, -33.393 |
CIE-LAB | 42.689, 50.752, -36.541 |
CIE-LCH | 42.689, 62.538, 324.246 |
CIE-LUV | 6.17, 60.49, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #9840a2
CMYK percent of color #9840a2
Text with hexadecimal color #9840a2
This text has a font color of #9840a2
<p style="color:#9840a2">Text here</p>
#9840a2 Background Color
This box has a background color of #9840a2
<div style="background-color:#9840a2">Text here</div>
#9840a2 Border Color
This box has a border color of #9840a2
<div style="border: 4px solid #9840a2">Text here</div>
CSS codes
<p style="color:#9840a2">Text here</p>
<div style="background-color:#9840a2">Text here</div>
<div style="border: 4px solid #9840a2">Text here</div>
#9840a2 Color on white background
This is how a font and box color of #9840a2 will look
on a white background.
#9840a2 Color on black background
This is how a font and box color of #9840a2 hex color will look
on a black background.