In RGB color space, #402940 hex color has a red value of 64, a green value of 41 and a blue value of 64.
In CMYK color space (used in color printing), #402940 hex color is composed of 0% cyan, 35.94% magenta, 0% yellow and 74.9% black.
#402940 color has a hue of 300 degrees, a saturation of 21.9% and a lightness of 20.6%.
#402940 hex color contains mainly RED.
The closest web safe color of #402940 is #333333
#402940 hex color has a decimal value of 4204864.
HEX | 402940 | #402940 |
---|---|---|
RGB | 64, 41, 64 | rgb(64, 41, 64) |
RGB Percent | 25.1, 16.08, 25.1 | rgb(25.1, 16.08, 25.1) |
CMYK | 0, 36, 0, 75 | |
HSL | 300°, 21.9, 20.6 | hsl(300, 21.9%, 20.6%) |
HSV | 300°, 35.9, 25.1 |
XYZ | 3.833, 3.046, 5.236 |
---|---|
Hunter Lab | 17.453, 8.66, -5.571 |
CIE-LAB | 20.227, 15.311, -10.269 |
CIE-LCH | 20.227, 18.436, 326.15 |
CIE-LUV | 0, 35.94, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402940
CMYK percent of color #402940
Text with hexadecimal color #402940
This text has a font color of #402940
<p style="color:#402940">Text here</p>
#402940 Background Color
This box has a background color of #402940
<div style="background-color:#402940">Text here</div>
#402940 Border Color
This box has a border color of #402940
<div style="border: 4px solid #402940">Text here</div>
CSS codes
<p style="color:#402940">Text here</p>
<div style="background-color:#402940">Text here</div>
<div style="border: 4px solid #402940">Text here</div>
#402940 Color on white background
This is how a font and box color of #402940 will look
on a white background.
#402940 Color on black background
This is how a font and box color of #402940 hex color will look
on a black background.