In RGB color space, #402855 hex color has a red value of 64, a green value of 40 and a blue value of 85.
In CMYK color space (used in color printing), #402855 hex color is composed of 24.71% cyan, 52.94% magenta, 0% yellow and 66.67% black.
#402855 color has a hue of 272 degrees, a saturation of 36% and a lightness of 24.5%.
#402855 hex color contains mainly BLUE.
The closest web safe color of #402855 is #333366
#402855 hex color has a decimal value of 4204629.
HEX | 402855 | #402855 |
---|---|---|
RGB | 64, 40, 85 | rgb(64, 40, 85) |
RGB Percent | 25.1, 15.69, 33.33 | rgb(25.1, 15.69, 33.33) |
CMYK | 25, 53, 0, 67 | |
HSL | 272°, 36, 24.5 | hsl(272, 36%, 24.5%) |
HSV | 272°, 52.9, 33.3 |
XYZ | 4.513, 3.263, 8.986 |
---|---|
Hunter Lab | 18.064, 12.984, -16.85 |
CIE-LAB | 21.068, 21.281, -23.166 |
CIE-LCH | 21.068, 31.457, 312.572 |
CIE-LUV | 24.71, 52.94, 0, 66.67 |
Web Safe | 333366 |
RGB percent of color #402855
CMYK percent of color #402855
Text with hexadecimal color #402855
This text has a font color of #402855
<p style="color:#402855">Text here</p>
#402855 Background Color
This box has a background color of #402855
<div style="background-color:#402855">Text here</div>
#402855 Border Color
This box has a border color of #402855
<div style="border: 4px solid #402855">Text here</div>
CSS codes
<p style="color:#402855">Text here</p>
<div style="background-color:#402855">Text here</div>
<div style="border: 4px solid #402855">Text here</div>
#402855 Color on white background
This is how a font and box color of #402855 will look
on a white background.
#402855 Color on black background
This is how a font and box color of #402855 hex color will look
on a black background.