In RGB color space, #402756 hex color has a red value of 64, a green value of 39 and a blue value of 86.
In CMYK color space (used in color printing), #402756 hex color is composed of 25.58% cyan, 54.65% magenta, 0% yellow and 66.27% black.
#402756 color has a hue of 271.9 degrees, a saturation of 37.6% and a lightness of 24.5%.
#402756 hex color contains mainly BLUE.
The closest web safe color of #402756 is #333366
#402756 hex color has a decimal value of 4204374.
HEX | 402756 | #402756 |
---|---|---|
RGB | 64, 39, 86 | rgb(64, 39, 86) |
RGB Percent | 25.1, 15.29, 33.73 | rgb(25.1, 15.29, 33.73) |
CMYK | 26, 55, 0, 66 | |
HSL | 271.9°, 37.6, 24.5 | hsl(271.9, 37.6%, 24.5%) |
HSV | 271.9°, 54.7, 33.7 |
XYZ | 4.52, 3.213, 9.186 |
---|---|
Hunter Lab | 17.925, 13.643, -17.837 |
CIE-LAB | 20.878, 22.195, -24.135 |
CIE-LCH | 20.878, 32.789, 312.602 |
CIE-LUV | 25.58, 54.65, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #402756
CMYK percent of color #402756
Text with hexadecimal color #402756
This text has a font color of #402756
<p style="color:#402756">Text here</p>
#402756 Background Color
This box has a background color of #402756
<div style="background-color:#402756">Text here</div>
#402756 Border Color
This box has a border color of #402756
<div style="border: 4px solid #402756">Text here</div>
CSS codes
<p style="color:#402756">Text here</p>
<div style="background-color:#402756">Text here</div>
<div style="border: 4px solid #402756">Text here</div>
#402756 Color on white background
This is how a font and box color of #402756 will look
on a white background.
#402756 Color on black background
This is how a font and box color of #402756 hex color will look
on a black background.