In RGB color space, #402766 hex color has a red value of 64, a green value of 39 and a blue value of 102.
In CMYK color space (used in color printing), #402766 hex color is composed of 37.25% cyan, 61.76% magenta, 0% yellow and 60% black.
#402766 color has a hue of 263.8 degrees, a saturation of 44.68% and a lightness of 27.6%.
#402766 hex color contains mainly BLUE.
The closest web safe color of #402766 is #333366
#402766 hex color has a decimal value of 4204390.
HEX | 402766 | #402766 |
---|---|---|
RGB | 64, 39, 102 | rgb(64, 39, 102) |
RGB Percent | 25.1, 15.29, 40 | rgb(25.1, 15.29, 40) |
CMYK | 37, 62, 0, 60 | |
HSL | 263.8°, 44.68, 27.6 | hsl(263.8, 44.68%, 27.6%) |
HSV | 263.8°, 61.8, 40 |
XYZ | 5.238, 3.5, 12.97 |
---|---|
Hunter Lab | 18.708, 17.237, -28.009 |
CIE-LAB | 21.944, 26.721, -32.985 |
CIE-LCH | 21.944, 42.45, 309.011 |
CIE-LUV | 37.25, 61.76, 0, 60 |
Web Safe | 333366 |
RGB percent of color #402766
CMYK percent of color #402766
Text with hexadecimal color #402766
This text has a font color of #402766
<p style="color:#402766">Text here</p>
#402766 Background Color
This box has a background color of #402766
<div style="background-color:#402766">Text here</div>
#402766 Border Color
This box has a border color of #402766
<div style="border: 4px solid #402766">Text here</div>
CSS codes
<p style="color:#402766">Text here</p>
<div style="background-color:#402766">Text here</div>
<div style="border: 4px solid #402766">Text here</div>
#402766 Color on white background
This is how a font and box color of #402766 will look
on a white background.
#402766 Color on black background
This is how a font and box color of #402766 hex color will look
on a black background.