In RGB color space, #402242 hex color has a red value of 64, a green value of 34 and a blue value of 66.
In CMYK color space (used in color printing), #402242 hex color is composed of 3.03% cyan, 48.48% magenta, 0% yellow and 74.12% black.
#402242 color has a hue of 296.3 degrees, a saturation of 32% and a lightness of 19.6%.
#402242 hex color contains mainly BLUE.
The closest web safe color of #402242 is #333333
#402242 hex color has a decimal value of 4203074.
HEX | 402242 | #402242 |
---|---|---|
RGB | 64, 34, 66 | rgb(64, 34, 66) |
RGB Percent | 25.1, 13.33, 25.88 | rgb(25.1, 13.33, 25.88) |
CMYK | 3, 48, 0, 74 | |
HSL | 296.3°, 32, 19.6 | hsl(296.3, 32%, 19.6%) |
HSV | 296.3°, 48.5, 25.9 |
XYZ | 3.67, 2.627, 5.468 |
---|---|
Hunter Lab | 16.208, 12.054, -8.657 |
CIE-LAB | 18.484, 20.361, -14.334 |
CIE-LCH | 18.484, 24.9, 324.855 |
CIE-LUV | 3.03, 48.48, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402242
CMYK percent of color #402242
Text with hexadecimal color #402242
This text has a font color of #402242
<p style="color:#402242">Text here</p>
#402242 Background Color
This box has a background color of #402242
<div style="background-color:#402242">Text here</div>
#402242 Border Color
This box has a border color of #402242
<div style="border: 4px solid #402242">Text here</div>
CSS codes
<p style="color:#402242">Text here</p>
<div style="background-color:#402242">Text here</div>
<div style="border: 4px solid #402242">Text here</div>
#402242 Color on white background
This is how a font and box color of #402242 will look
on a white background.
#402242 Color on black background
This is how a font and box color of #402242 hex color will look
on a black background.