In RGB color space, #402a40 hex color has a red value of 64, a green value of 42 and a blue value of 64.
In CMYK color space (used in color printing), #402a40 hex color is composed of 0% cyan, 34.38% magenta, 0% yellow and 74.9% black.
#402a40 color has a hue of 300 degrees, a saturation of 20.75% and a lightness of 20.8%.
#402a40 hex color contains mainly RED.
The closest web safe color of #402a40 is #333333
#402a40 hex color has a decimal value of 4205120.
HEX | 402a40 | #402a40 |
---|---|---|
RGB | 64, 42, 64 | rgb(64, 42, 64) |
RGB Percent | 25.1, 16.47, 25.1 | rgb(25.1, 16.47, 25.1) |
CMYK | 0, 34, 0, 75 | |
HSL | 300°, 20.75, 20.8 | hsl(300, 20.75%, 20.8%) |
HSV | 300°, 34.4, 25.1 |
XYZ | 3.868, 3.116, 5.248 |
---|---|
Hunter Lab | 17.652, 8.222, -5.27 |
CIE-LAB | 20.503, 14.644, -9.849 |
CIE-LCH | 20.503, 17.648, 326.077 |
CIE-LUV | 0, 34.38, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402a40
CMYK percent of color #402a40
Text with hexadecimal color #402a40
This text has a font color of #402a40
<p style="color:#402a40">Text here</p>
#402a40 Background Color
This box has a background color of #402a40
<div style="background-color:#402a40">Text here</div>
#402a40 Border Color
This box has a border color of #402a40
<div style="border: 4px solid #402a40">Text here</div>
CSS codes
<p style="color:#402a40">Text here</p>
<div style="background-color:#402a40">Text here</div>
<div style="border: 4px solid #402a40">Text here</div>
#402a40 Color on white background
This is how a font and box color of #402a40 will look
on a white background.
#402a40 Color on black background
This is how a font and box color of #402a40 hex color will look
on a black background.