In RGB color space, #402851 hex color has a red value of 64, a green value of 40 and a blue value of 81.
In CMYK color space (used in color printing), #402851 hex color is composed of 20.99% cyan, 50.62% magenta, 0% yellow and 68.24% black.
#402851 color has a hue of 275.1 degrees, a saturation of 33.88% and a lightness of 23.7%.
#402851 hex color contains mainly BLUE.
The closest web safe color of #402851 is #333366
#402851 hex color has a decimal value of 4204625.
HEX | 402851 | #402851 |
---|---|---|
RGB | 64, 40, 81 | rgb(64, 40, 81) |
RGB Percent | 25.1, 15.69, 31.76 | rgb(25.1, 15.69, 31.76) |
CMYK | 21, 51, 0, 68 | |
HSL | 275.1°, 33.88, 23.7 | hsl(275.1, 33.88%, 23.7%) |
HSV | 275.1°, 50.6, 31.8 |
XYZ | 4.358, 3.202, 8.173 |
---|---|
Hunter Lab | 17.894, 12.158, -14.554 |
CIE-LAB | 20.835, 20.186, -20.857 |
CIE-LCH | 20.835, 29.026, 314.063 |
CIE-LUV | 20.99, 50.62, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #402851
CMYK percent of color #402851
Text with hexadecimal color #402851
This text has a font color of #402851
<p style="color:#402851">Text here</p>
#402851 Background Color
This box has a background color of #402851
<div style="background-color:#402851">Text here</div>
#402851 Border Color
This box has a border color of #402851
<div style="border: 4px solid #402851">Text here</div>
CSS codes
<p style="color:#402851">Text here</p>
<div style="background-color:#402851">Text here</div>
<div style="border: 4px solid #402851">Text here</div>
#402851 Color on white background
This is how a font and box color of #402851 will look
on a white background.
#402851 Color on black background
This is how a font and box color of #402851 hex color will look
on a black background.