In RGB color space, #402742 hex color has a red value of 64, a green value of 39 and a blue value of 66.
In CMYK color space (used in color printing), #402742 hex color is composed of 3.03% cyan, 40.91% magenta, 0% yellow and 74.12% black.
#402742 color has a hue of 295.6 degrees, a saturation of 25.71% and a lightness of 20.6%.
#402742 hex color contains mainly BLUE.
The closest web safe color of #402742 is #333333
#402742 hex color has a decimal value of 4204354.
HEX | 402742 | #402742 |
---|---|---|
RGB | 64, 39, 66 | rgb(64, 39, 66) |
RGB Percent | 25.1, 15.29, 25.88 | rgb(25.1, 15.29, 25.88) |
CMYK | 3, 41, 0, 74 | |
HSL | 295.6°, 25.71, 20.6 | hsl(295.6, 25.71%, 20.6%) |
HSV | 295.6°, 40.9, 25.9 |
XYZ | 3.823, 2.934, 5.519 |
---|---|
Hunter Lab | 17.129, 9.864, -7.113 |
CIE-LAB | 19.778, 17.1, -12.331 |
CIE-LCH | 19.778, 21.082, 324.204 |
CIE-LUV | 3.03, 40.91, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402742
CMYK percent of color #402742
Text with hexadecimal color #402742
This text has a font color of #402742
<p style="color:#402742">Text here</p>
#402742 Background Color
This box has a background color of #402742
<div style="background-color:#402742">Text here</div>
#402742 Border Color
This box has a border color of #402742
<div style="border: 4px solid #402742">Text here</div>
CSS codes
<p style="color:#402742">Text here</p>
<div style="background-color:#402742">Text here</div>
<div style="border: 4px solid #402742">Text here</div>
#402742 Color on white background
This is how a font and box color of #402742 will look
on a white background.
#402742 Color on black background
This is how a font and box color of #402742 hex color will look
on a black background.