In RGB color space, #402845 hex color has a red value of 64, a green value of 40 and a blue value of 69.
In CMYK color space (used in color printing), #402845 hex color is composed of 7.25% cyan, 42.03% magenta, 0% yellow and 72.94% black.
#402845 color has a hue of 289.7 degrees, a saturation of 26.61% and a lightness of 21.4%.
#402845 hex color contains mainly BLUE.
The closest web safe color of #402845 is #333333
#402845 hex color has a decimal value of 4204613.
HEX | 402845 | #402845 |
---|---|---|
RGB | 64, 40, 69 | rgb(64, 40, 69) |
RGB Percent | 25.1, 15.69, 27.06 | rgb(25.1, 15.69, 27.06) |
CMYK | 7, 42, 0, 73 | |
HSL | 289.7°, 26.61, 21.4 | hsl(289.7, 26.61%, 21.4%) |
HSV | 289.7°, 42, 27.1 |
XYZ | 3.947, 3.037, 6.008 |
---|---|
Hunter Lab | 17.427, 9.931, -8.241 |
CIE-LAB | 20.191, 17.148, -13.742 |
CIE-LCH | 20.191, 21.975, 321.292 |
CIE-LUV | 7.25, 42.03, 0, 72.94 |
Web Safe | 333333 |
RGB percent of color #402845
CMYK percent of color #402845
Text with hexadecimal color #402845
This text has a font color of #402845
<p style="color:#402845">Text here</p>
#402845 Background Color
This box has a background color of #402845
<div style="background-color:#402845">Text here</div>
#402845 Border Color
This box has a border color of #402845
<div style="border: 4px solid #402845">Text here</div>
CSS codes
<p style="color:#402845">Text here</p>
<div style="background-color:#402845">Text here</div>
<div style="border: 4px solid #402845">Text here</div>
#402845 Color on white background
This is how a font and box color of #402845 will look
on a white background.
#402845 Color on black background
This is how a font and box color of #402845 hex color will look
on a black background.