In RGB color space, #402238 hex color has a red value of 64, a green value of 34 and a blue value of 56.
In CMYK color space (used in color printing), #402238 hex color is composed of 0% cyan, 46.88% magenta, 12.5% yellow and 74.9% black.
#402238 color has a hue of 316 degrees, a saturation of 30.61% and a lightness of 19.2%.
#402238 hex color contains mainly RED.
The closest web safe color of #402238 is #333333
#402238 hex color has a decimal value of 4203064.
HEX | 402238 | #402238 |
---|---|---|
RGB | 64, 34, 56 | rgb(64, 34, 56) |
RGB Percent | 25.1, 13.33, 21.96 | rgb(25.1, 13.33, 21.96) |
CMYK | 0, 47, 13, 75 | |
HSL | 316°, 30.61, 19.2 | hsl(316, 30.61%, 19.2%) |
HSV | 316°, 46.9, 25.1 |
XYZ | 3.4, 2.52, 4.048 |
---|---|
Hunter Lab | 15.875, 10.451, -4.007 |
CIE-LAB | 18.009, 18.157, -8.115 |
CIE-LCH | 18.009, 19.888, 335.918 |
CIE-LUV | 0, 46.88, 12.5, 74.9 |
Web Safe | 333333 |
RGB percent of color #402238
CMYK percent of color #402238
Text with hexadecimal color #402238
This text has a font color of #402238
<p style="color:#402238">Text here</p>
#402238 Background Color
This box has a background color of #402238
<div style="background-color:#402238">Text here</div>
#402238 Border Color
This box has a border color of #402238
<div style="border: 4px solid #402238">Text here</div>
CSS codes
<p style="color:#402238">Text here</p>
<div style="background-color:#402238">Text here</div>
<div style="border: 4px solid #402238">Text here</div>
#402238 Color on white background
This is how a font and box color of #402238 will look
on a white background.
#402238 Color on black background
This is how a font and box color of #402238 hex color will look
on a black background.