In RGB color space, #9840a5 hex color has a red value of 152, a green value of 64 and a blue value of 165.
In CMYK color space (used in color printing), #9840a5 hex color is composed of 7.88% cyan, 61.21% magenta, 0% yellow and 35.29% black.
#9840a5 color has a hue of 292.3 degrees, a saturation of 44.1% and a lightness of 44.9%.
#9840a5 hex color contains mainly BLUE.
The closest web safe color of #9840a5 is #993399
#9840a5 hex color has a decimal value of 9978021.
HEX | 9840a5 | #9840a5 |
---|---|---|
RGB | 152, 64, 165 | rgb(152, 64, 165) |
RGB Percent | 59.61, 25.1, 64.71 | rgb(59.61, 25.1, 64.71) |
CMYK | 8, 61, 0, 35 | |
HSL | 292.3°, 44.1, 44.9 | hsl(292.3, 44.1%, 44.9%) |
HSV | 292.3°, 61.2, 64.7 |
XYZ | 21.574, 13.059, 36.981 |
---|---|
Hunter Lab | 36.137, 43.325, -35.378 |
CIE-LAB | 42.852, 51.328, -38.072 |
CIE-LCH | 42.852, 63.907, 323.434 |
CIE-LUV | 7.88, 61.21, 0, 35.29 |
Web Safe | 993399 |
RGB percent of color #9840a5
CMYK percent of color #9840a5
Text with hexadecimal color #9840a5
This text has a font color of #9840a5
<p style="color:#9840a5">Text here</p>
#9840a5 Background Color
This box has a background color of #9840a5
<div style="background-color:#9840a5">Text here</div>
#9840a5 Border Color
This box has a border color of #9840a5
<div style="border: 4px solid #9840a5">Text here</div>
CSS codes
<p style="color:#9840a5">Text here</p>
<div style="background-color:#9840a5">Text here</div>
<div style="border: 4px solid #9840a5">Text here</div>
#9840a5 Color on white background
This is how a font and box color of #9840a5 will look
on a white background.
#9840a5 Color on black background
This is how a font and box color of #9840a5 hex color will look
on a black background.