In RGB color space, #9840a0 hex color has a red value of 152, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #9840a0 hex color is composed of 5% cyan, 60% magenta, 0% yellow and 37.25% black.
#9840a0 color has a hue of 295 degrees, a saturation of 42.86% and a lightness of 43.9%.
#9840a0 hex color contains mainly BLUE.
The closest web safe color of #9840a0 is #993399
#9840a0 hex color has a decimal value of 9978016.
HEX | 9840a0 | #9840a0 |
---|---|---|
RGB | 152, 64, 160 | rgb(152, 64, 160) |
RGB Percent | 59.61, 25.1, 62.75 | rgb(59.61, 25.1, 62.75) |
CMYK | 5, 60, 0, 37 | |
HSL | 295°, 42.86, 43.9 | hsl(295, 42.86%, 43.9%) |
HSV | 295°, 60, 62.7 |
XYZ | 21.127, 12.88, 34.63 |
---|---|
Hunter Lab | 35.889, 42.274, -32.088 |
CIE-LAB | 42.582, 50.371, -35.516 |
CIE-LCH | 42.582, 61.633, 324.813 |
CIE-LUV | 5, 60, 0, 37.25 |
Web Safe | 993399 |
RGB percent of color #9840a0
CMYK percent of color #9840a0
Text with hexadecimal color #9840a0
This text has a font color of #9840a0
<p style="color:#9840a0">Text here</p>
#9840a0 Background Color
This box has a background color of #9840a0
<div style="background-color:#9840a0">Text here</div>
#9840a0 Border Color
This box has a border color of #9840a0
<div style="border: 4px solid #9840a0">Text here</div>
CSS codes
<p style="color:#9840a0">Text here</p>
<div style="background-color:#9840a0">Text here</div>
<div style="border: 4px solid #9840a0">Text here</div>
#9840a0 Color on white background
This is how a font and box color of #9840a0 will look
on a white background.
#9840a0 Color on black background
This is how a font and box color of #9840a0 hex color will look
on a black background.