In RGB color space, #402b42 hex color has a red value of 64, a green value of 43 and a blue value of 66.
In CMYK color space (used in color printing), #402b42 hex color is composed of 3.03% cyan, 34.85% magenta, 0% yellow and 74.12% black.
#402b42 color has a hue of 294.8 degrees, a saturation of 21.1% and a lightness of 21.4%.
#402b42 hex color contains mainly BLUE.
The closest web safe color of #402b42 is #333333
#402b42 hex color has a decimal value of 4205378.
HEX | 402b42 | #402b42 |
---|---|---|
RGB | 64, 43, 66 | rgb(64, 43, 66) |
RGB Percent | 25.1, 16.86, 25.88 | rgb(25.1, 16.86, 25.88) |
CMYK | 3, 35, 0, 74 | |
HSL | 294.8°, 21.1, 21.4 | hsl(294.8, 21.1%, 21.4%) |
HSV | 294.8°, 34.8, 25.9 |
XYZ | 3.962, 3.211, 5.565 |
---|---|
Hunter Lab | 17.919, 8.108, -5.87 |
CIE-LAB | 20.87, 14.443, -10.653 |
CIE-LCH | 20.87, 17.947, 323.588 |
CIE-LUV | 3.03, 34.85, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402b42
CMYK percent of color #402b42
Text with hexadecimal color #402b42
This text has a font color of #402b42
<p style="color:#402b42">Text here</p>
#402b42 Background Color
This box has a background color of #402b42
<div style="background-color:#402b42">Text here</div>
#402b42 Border Color
This box has a border color of #402b42
<div style="border: 4px solid #402b42">Text here</div>
CSS codes
<p style="color:#402b42">Text here</p>
<div style="background-color:#402b42">Text here</div>
<div style="border: 4px solid #402b42">Text here</div>
#402b42 Color on white background
This is how a font and box color of #402b42 will look
on a white background.
#402b42 Color on black background
This is how a font and box color of #402b42 hex color will look
on a black background.