In RGB color space, #402566 hex color has a red value of 64, a green value of 37 and a blue value of 102.
In CMYK color space (used in color printing), #402566 hex color is composed of 37.25% cyan, 63.73% magenta, 0% yellow and 60% black.
#402566 color has a hue of 264.9 degrees, a saturation of 46.76% and a lightness of 27.3%.
#402566 hex color contains mainly BLUE.
The closest web safe color of #402566 is #333366
#402566 hex color has a decimal value of 4203878.
HEX | 402566 | #402566 |
---|---|---|
RGB | 64, 37, 102 | rgb(64, 37, 102) |
RGB Percent | 25.1, 14.51, 40 | rgb(25.1, 14.51, 40) |
CMYK | 37, 64, 0, 60 | |
HSL | 264.9°, 46.76, 27.3 | hsl(264.9, 46.76%, 27.3%) |
HSV | 264.9°, 63.7, 40 |
XYZ | 5.174, 3.372, 12.949 |
---|---|
Hunter Lab | 18.363, 18.159, -28.955 |
CIE-LAB | 21.476, 27.961, -33.739 |
CIE-LCH | 21.476, 43.819, 309.65 |
CIE-LUV | 37.25, 63.73, 0, 60 |
Web Safe | 333366 |
RGB percent of color #402566
CMYK percent of color #402566
Text with hexadecimal color #402566
This text has a font color of #402566
<p style="color:#402566">Text here</p>
#402566 Background Color
This box has a background color of #402566
<div style="background-color:#402566">Text here</div>
#402566 Border Color
This box has a border color of #402566
<div style="border: 4px solid #402566">Text here</div>
CSS codes
<p style="color:#402566">Text here</p>
<div style="background-color:#402566">Text here</div>
<div style="border: 4px solid #402566">Text here</div>
#402566 Color on white background
This is how a font and box color of #402566 will look
on a white background.
#402566 Color on black background
This is how a font and box color of #402566 hex color will look
on a black background.