In RGB color space, #402e40 hex color has a red value of 64, a green value of 46 and a blue value of 64.
In CMYK color space (used in color printing), #402e40 hex color is composed of 0% cyan, 28.13% magenta, 0% yellow and 74.9% black.
#402e40 color has a hue of 300 degrees, a saturation of 16.36% and a lightness of 21.6%.
#402e40 hex color contains mainly RED.
The closest web safe color of #402e40 is #333333
#402e40 hex color has a decimal value of 4206144.
HEX | 402e40 | #402e40 |
---|---|---|
RGB | 64, 46, 64 | rgb(64, 46, 64) |
RGB Percent | 25.1, 18.04, 25.1 | rgb(25.1, 18.04, 25.1) |
CMYK | 0, 28, 0, 75 | |
HSL | 300°, 16.36, 21.6 | hsl(300, 16.36%, 21.6%) |
HSV | 300°, 28.1, 25.1 |
XYZ | 4.017, 3.414, 5.298 |
---|---|
Hunter Lab | 18.477, 6.472, -4.067 |
CIE-LAB | 21.631, 11.961, -8.134 |
CIE-LCH | 21.631, 14.465, 325.783 |
CIE-LUV | 0, 28.13, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402e40
CMYK percent of color #402e40
Text with hexadecimal color #402e40
This text has a font color of #402e40
<p style="color:#402e40">Text here</p>
#402e40 Background Color
This box has a background color of #402e40
<div style="background-color:#402e40">Text here</div>
#402e40 Border Color
This box has a border color of #402e40
<div style="border: 4px solid #402e40">Text here</div>
CSS codes
<p style="color:#402e40">Text here</p>
<div style="background-color:#402e40">Text here</div>
<div style="border: 4px solid #402e40">Text here</div>
#402e40 Color on white background
This is how a font and box color of #402e40 will look
on a white background.
#402e40 Color on black background
This is how a font and box color of #402e40 hex color will look
on a black background.