In RGB color space, #402842 hex color has a red value of 64, a green value of 40 and a blue value of 66.
In CMYK color space (used in color printing), #402842 hex color is composed of 3.03% cyan, 39.39% magenta, 0% yellow and 74.12% black.
#402842 color has a hue of 295.4 degrees, a saturation of 24.53% and a lightness of 20.8%.
#402842 hex color contains mainly BLUE.
The closest web safe color of #402842 is #333333
#402842 hex color has a decimal value of 4204610.
HEX | 402842 | #402842 |
---|---|---|
RGB | 64, 40, 66 | rgb(64, 40, 66) |
RGB Percent | 25.1, 15.69, 25.88 | rgb(25.1, 15.69, 25.88) |
CMYK | 3, 39, 0, 74 | |
HSL | 295.4°, 24.53, 20.8 | hsl(295.4, 24.53%, 20.8%) |
HSV | 295.4°, 39.4, 25.9 |
XYZ | 3.857, 3.001, 5.53 |
---|---|
Hunter Lab | 17.323, 9.427, -6.8 |
CIE-LAB | 20.048, 16.441, -11.914 |
CIE-LCH | 20.048, 20.304, 324.071 |
CIE-LUV | 3.03, 39.39, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402842
CMYK percent of color #402842
Text with hexadecimal color #402842
This text has a font color of #402842
<p style="color:#402842">Text here</p>
#402842 Background Color
This box has a background color of #402842
<div style="background-color:#402842">Text here</div>
#402842 Border Color
This box has a border color of #402842
<div style="border: 4px solid #402842">Text here</div>
CSS codes
<p style="color:#402842">Text here</p>
<div style="background-color:#402842">Text here</div>
<div style="border: 4px solid #402842">Text here</div>
#402842 Color on white background
This is how a font and box color of #402842 will look
on a white background.
#402842 Color on black background
This is how a font and box color of #402842 hex color will look
on a black background.