In RGB color space, #402138 hex color has a red value of 64, a green value of 33 and a blue value of 56.
In CMYK color space (used in color printing), #402138 hex color is composed of 0% cyan, 48.44% magenta, 12.5% yellow and 74.9% black.
#402138 color has a hue of 315.5 degrees, a saturation of 31.96% and a lightness of 19%.
#402138 hex color contains mainly RED.
The closest web safe color of #402138 is #333333
#402138 hex color has a decimal value of 4202808.
HEX | 402138 | #402138 |
---|---|---|
RGB | 64, 33, 56 | rgb(64, 33, 56) |
RGB Percent | 25.1, 12.94, 21.96 | rgb(25.1, 12.94, 21.96) |
CMYK | 0, 48, 13, 75 | |
HSL | 315.5°, 31.96, 19 | hsl(315.5, 31.96%, 19%) |
HSV | 315.5°, 48.4, 25.1 |
XYZ | 3.372, 2.463, 4.039 |
---|---|
Hunter Lab | 15.694, 10.888, -4.273 |
CIE-LAB | 17.75, 18.817, -8.511 |
CIE-LCH | 17.75, 20.652, 335.663 |
CIE-LUV | 0, 48.44, 12.5, 74.9 |
Web Safe | 333333 |
RGB percent of color #402138
CMYK percent of color #402138
Text with hexadecimal color #402138
This text has a font color of #402138
<p style="color:#402138">Text here</p>
#402138 Background Color
This box has a background color of #402138
<div style="background-color:#402138">Text here</div>
#402138 Border Color
This box has a border color of #402138
<div style="border: 4px solid #402138">Text here</div>
CSS codes
<p style="color:#402138">Text here</p>
<div style="background-color:#402138">Text here</div>
<div style="border: 4px solid #402138">Text here</div>
#402138 Color on white background
This is how a font and box color of #402138 will look
on a white background.
#402138 Color on black background
This is how a font and box color of #402138 hex color will look
on a black background.