In RGB color space, #402e50 hex color has a red value of 64, a green value of 46 and a blue value of 80.
In CMYK color space (used in color printing), #402e50 hex color is composed of 20% cyan, 42.5% magenta, 0% yellow and 68.63% black.
#402e50 color has a hue of 271.8 degrees, a saturation of 26.98% and a lightness of 24.7%.
#402e50 hex color contains mainly BLUE.
The closest web safe color of #402e50 is #333366
#402e50 hex color has a decimal value of 4206160.
HEX | 402e50 | #402e50 |
---|---|---|
RGB | 64, 46, 80 | rgb(64, 46, 80) |
RGB Percent | 25.1, 18.04, 31.37 | rgb(25.1, 18.04, 31.37) |
CMYK | 20, 43, 0, 69 | |
HSL | 271.8°, 26.98, 24.7 | hsl(271.8, 26.98%, 24.7%) |
HSV | 271.8°, 42.5, 31.4 |
XYZ | 4.539, 3.623, 8.05 |
---|---|
Hunter Lab | 19.034, 9.256, -11.751 |
CIE-LAB | 22.384, 15.956, -17.762 |
CIE-LCH | 22.384, 23.876, 311.934 |
CIE-LUV | 20, 42.5, 0, 68.63 |
Web Safe | 333366 |
RGB percent of color #402e50
CMYK percent of color #402e50
Text with hexadecimal color #402e50
This text has a font color of #402e50
<p style="color:#402e50">Text here</p>
#402e50 Background Color
This box has a background color of #402e50
<div style="background-color:#402e50">Text here</div>
#402e50 Border Color
This box has a border color of #402e50
<div style="border: 4px solid #402e50">Text here</div>
CSS codes
<p style="color:#402e50">Text here</p>
<div style="background-color:#402e50">Text here</div>
<div style="border: 4px solid #402e50">Text here</div>
#402e50 Color on white background
This is how a font and box color of #402e50 will look
on a white background.
#402e50 Color on black background
This is how a font and box color of #402e50 hex color will look
on a black background.