In RGB color space, #9840b2 hex color has a red value of 152, a green value of 64 and a blue value of 178.
In CMYK color space (used in color printing), #9840b2 hex color is composed of 14.61% cyan, 64.04% magenta, 0% yellow and 30.2% black.
#9840b2 color has a hue of 286.3 degrees, a saturation of 47.11% and a lightness of 47.5%.
#9840b2 hex color contains mainly BLUE.
The closest web safe color of #9840b2 is #993399
#9840b2 hex color has a decimal value of 9978034.
HEX | 9840b2 | #9840b2 |
---|---|---|
RGB | 152, 64, 178 | rgb(152, 64, 178) |
RGB Percent | 59.61, 25.1, 69.8 | rgb(59.61, 25.1, 69.8) |
CMYK | 15, 64, 0, 30 | |
HSL | 286.3°, 47.11, 47.5 | hsl(286.3, 47.11%, 47.5%) |
HSV | 286.3°, 64, 69.8 |
XYZ | 22.818, 13.557, 43.534 |
---|---|
Hunter Lab | 36.82, 46.185, -44.328 |
CIE-LAB | 43.591, 53.897, -44.597 |
CIE-LCH | 43.591, 69.956, 320.394 |
CIE-LUV | 14.61, 64.04, 0, 30.2 |
Web Safe | 993399 |
RGB percent of color #9840b2
CMYK percent of color #9840b2
Text with hexadecimal color #9840b2
This text has a font color of #9840b2
<p style="color:#9840b2">Text here</p>
#9840b2 Background Color
This box has a background color of #9840b2
<div style="background-color:#9840b2">Text here</div>
#9840b2 Border Color
This box has a border color of #9840b2
<div style="border: 4px solid #9840b2">Text here</div>
CSS codes
<p style="color:#9840b2">Text here</p>
<div style="background-color:#9840b2">Text here</div>
<div style="border: 4px solid #9840b2">Text here</div>
#9840b2 Color on white background
This is how a font and box color of #9840b2 will look
on a white background.
#9840b2 Color on black background
This is how a font and box color of #9840b2 hex color will look
on a black background.