In RGB color space, #402f42 hex color has a red value of 64, a green value of 47 and a blue value of 66.
In CMYK color space (used in color printing), #402f42 hex color is composed of 3.03% cyan, 28.79% magenta, 0% yellow and 74.12% black.
#402f42 color has a hue of 293.7 degrees, a saturation of 16.81% and a lightness of 22.2%.
#402f42 hex color contains mainly BLUE.
The closest web safe color of #402f42 is #333333
#402f42 hex color has a decimal value of 4206402.
HEX | 402f42 | #402f42 |
---|---|---|
RGB | 64, 47, 66 | rgb(64, 47, 66) |
RGB Percent | 25.1, 18.43, 25.88 | rgb(25.1, 18.43, 25.88) |
CMYK | 3, 29, 0, 74 | |
HSL | 293.7°, 16.81, 22.2 | hsl(293.7, 16.81%, 22.2%) |
HSV | 293.7°, 28.8, 25.9 |
XYZ | 4.114, 3.516, 5.616 |
---|---|
Hunter Lab | 18.751, 6.349, -4.632 |
CIE-LAB | 22.002, 11.752, -8.927 |
CIE-LCH | 22.002, 14.758, 322.779 |
CIE-LUV | 3.03, 28.79, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402f42
CMYK percent of color #402f42
Text with hexadecimal color #402f42
This text has a font color of #402f42
<p style="color:#402f42">Text here</p>
#402f42 Background Color
This box has a background color of #402f42
<div style="background-color:#402f42">Text here</div>
#402f42 Border Color
This box has a border color of #402f42
<div style="border: 4px solid #402f42">Text here</div>
CSS codes
<p style="color:#402f42">Text here</p>
<div style="background-color:#402f42">Text here</div>
<div style="border: 4px solid #402f42">Text here</div>
#402f42 Color on white background
This is how a font and box color of #402f42 will look
on a white background.
#402f42 Color on black background
This is how a font and box color of #402f42 hex color will look
on a black background.