In RGB color space, #402542 hex color has a red value of 64, a green value of 37 and a blue value of 66.
In CMYK color space (used in color printing), #402542 hex color is composed of 3.03% cyan, 43.94% magenta, 0% yellow and 74.12% black.
#402542 color has a hue of 295.9 degrees, a saturation of 28.16% and a lightness of 20.2%.
#402542 hex color contains mainly BLUE.
The closest web safe color of #402542 is #333333
#402542 hex color has a decimal value of 4203842.
HEX | 402542 | #402542 |
---|---|---|
RGB | 64, 37, 66 | rgb(64, 37, 66) |
RGB Percent | 25.1, 14.51, 25.88 | rgb(25.1, 14.51, 25.88) |
CMYK | 3, 44, 0, 74 | |
HSL | 295.9°, 28.16, 20.2 | hsl(295.9, 28.16%, 20.2%) |
HSV | 295.9°, 43.9, 25.9 |
XYZ | 3.759, 2.806, 5.498 |
---|---|
Hunter Lab | 16.751, 10.741, -7.734 |
CIE-LAB | 19.25, 18.414, -13.148 |
CIE-LCH | 19.25, 22.626, 324.472 |
CIE-LUV | 3.03, 43.94, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402542
CMYK percent of color #402542
Text with hexadecimal color #402542
This text has a font color of #402542
<p style="color:#402542">Text here</p>
#402542 Background Color
This box has a background color of #402542
<div style="background-color:#402542">Text here</div>
#402542 Border Color
This box has a border color of #402542
<div style="border: 4px solid #402542">Text here</div>
CSS codes
<p style="color:#402542">Text here</p>
<div style="background-color:#402542">Text here</div>
<div style="border: 4px solid #402542">Text here</div>
#402542 Color on white background
This is how a font and box color of #402542 will look
on a white background.
#402542 Color on black background
This is how a font and box color of #402542 hex color will look
on a black background.