In RGB color space, #402854 hex color has a red value of 64, a green value of 40 and a blue value of 84.
In CMYK color space (used in color printing), #402854 hex color is composed of 23.81% cyan, 52.38% magenta, 0% yellow and 67.06% black.
#402854 color has a hue of 272.7 degrees, a saturation of 35.48% and a lightness of 24.3%.
#402854 hex color contains mainly BLUE.
The closest web safe color of #402854 is #333366
#402854 hex color has a decimal value of 4204628.
HEX | 402854 | #402854 |
---|---|---|
RGB | 64, 40, 84 | rgb(64, 40, 84) |
RGB Percent | 25.1, 15.69, 32.94 | rgb(25.1, 15.69, 32.94) |
CMYK | 24, 52, 0, 67 | |
HSL | 272.7°, 35.48, 24.3 | hsl(272.7, 35.48%, 24.3%) |
HSV | 272.7°, 52.4, 32.9 |
XYZ | 4.473, 3.248, 8.779 |
---|---|
Hunter Lab | 18.022, 12.764, -16.266 |
CIE-LAB | 21.011, 20.989, -22.59 |
CIE-LCH | 21.011, 30.836, 312.896 |
CIE-LUV | 23.81, 52.38, 0, 67.06 |
Web Safe | 333366 |
RGB percent of color #402854
CMYK percent of color #402854
Text with hexadecimal color #402854
This text has a font color of #402854
<p style="color:#402854">Text here</p>
#402854 Background Color
This box has a background color of #402854
<div style="background-color:#402854">Text here</div>
#402854 Border Color
This box has a border color of #402854
<div style="border: 4px solid #402854">Text here</div>
CSS codes
<p style="color:#402854">Text here</p>
<div style="background-color:#402854">Text here</div>
<div style="border: 4px solid #402854">Text here</div>
#402854 Color on white background
This is how a font and box color of #402854 will look
on a white background.
#402854 Color on black background
This is how a font and box color of #402854 hex color will look
on a black background.