In RGB color space, #402f40 hex color has a red value of 64, a green value of 47 and a blue value of 64.
In CMYK color space (used in color printing), #402f40 hex color is composed of 0% cyan, 26.56% magenta, 0% yellow and 74.9% black.
#402f40 color has a hue of 300 degrees, a saturation of 15.32% and a lightness of 21.8%.
#402f40 hex color contains mainly RED.
The closest web safe color of #402f40 is #333333
#402f40 hex color has a decimal value of 4206400.
HEX | 402f40 | #402f40 |
---|---|---|
RGB | 64, 47, 64 | rgb(64, 47, 64) |
RGB Percent | 25.1, 18.43, 25.1 | rgb(25.1, 18.43, 25.1) |
CMYK | 0, 27, 0, 75 | |
HSL | 300°, 15.32, 21.8 | hsl(300, 15.32%, 21.8%) |
HSV | 300°, 26.6, 25.1 |
XYZ | 4.056, 3.493, 5.311 |
---|---|
Hunter Lab | 18.69, 6.031, -3.766 |
CIE-LAB | 21.919, 11.281, -7.697 |
CIE-LCH | 21.919, 13.657, 325.694 |
CIE-LUV | 0, 26.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402f40
CMYK percent of color #402f40
Text with hexadecimal color #402f40
This text has a font color of #402f40
<p style="color:#402f40">Text here</p>
#402f40 Background Color
This box has a background color of #402f40
<div style="background-color:#402f40">Text here</div>
#402f40 Border Color
This box has a border color of #402f40
<div style="border: 4px solid #402f40">Text here</div>
CSS codes
<p style="color:#402f40">Text here</p>
<div style="background-color:#402f40">Text here</div>
<div style="border: 4px solid #402f40">Text here</div>
#402f40 Color on white background
This is how a font and box color of #402f40 will look
on a white background.
#402f40 Color on black background
This is how a font and box color of #402f40 hex color will look
on a black background.