In RGB color space, #402442 hex color has a red value of 64, a green value of 36 and a blue value of 66.
In CMYK color space (used in color printing), #402442 hex color is composed of 3.03% cyan, 45.45% magenta, 0% yellow and 74.12% black.
#402442 color has a hue of 296 degrees, a saturation of 29.41% and a lightness of 20%.
#402442 hex color contains mainly BLUE.
The closest web safe color of #402442 is #333333
#402442 hex color has a decimal value of 4203586.
HEX | 402442 | #402442 |
---|---|---|
RGB | 64, 36, 66 | rgb(64, 36, 66) |
RGB Percent | 25.1, 14.12, 25.88 | rgb(25.1, 14.12, 25.88) |
CMYK | 3, 45, 0, 74 | |
HSL | 296°, 29.41, 20 | hsl(296, 29.41%, 20%) |
HSV | 296°, 45.5, 25.9 |
XYZ | 3.729, 2.745, 5.488 |
---|---|
Hunter Lab | 16.568, 11.181, -8.042 |
CIE-LAB | 18.992, 19.069, -13.546 |
CIE-LCH | 18.992, 23.391, 324.611 |
CIE-LUV | 3.03, 45.45, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402442
CMYK percent of color #402442
Text with hexadecimal color #402442
This text has a font color of #402442
<p style="color:#402442">Text here</p>
#402442 Background Color
This box has a background color of #402442
<div style="background-color:#402442">Text here</div>
#402442 Border Color
This box has a border color of #402442
<div style="border: 4px solid #402442">Text here</div>
CSS codes
<p style="color:#402442">Text here</p>
<div style="background-color:#402442">Text here</div>
<div style="border: 4px solid #402442">Text here</div>
#402442 Color on white background
This is how a font and box color of #402442 will look
on a white background.
#402442 Color on black background
This is how a font and box color of #402442 hex color will look
on a black background.