In RGB color space, #402852 hex color has a red value of 64, a green value of 40 and a blue value of 82.
In CMYK color space (used in color printing), #402852 hex color is composed of 21.95% cyan, 51.22% magenta, 0% yellow and 67.84% black.
#402852 color has a hue of 274.3 degrees, a saturation of 34.43% and a lightness of 23.9%.
#402852 hex color contains mainly BLUE.
The closest web safe color of #402852 is #333366
#402852 hex color has a decimal value of 4204626.
HEX | 402852 | #402852 |
---|---|---|
RGB | 64, 40, 82 | rgb(64, 40, 82) |
RGB Percent | 25.1, 15.69, 32.16 | rgb(25.1, 15.69, 32.16) |
CMYK | 22, 51, 0, 68 | |
HSL | 274.3°, 34.43, 23.9 | hsl(274.3, 34.43%, 23.9%) |
HSV | 274.3°, 51.2, 32.2 |
XYZ | 4.396, 3.217, 8.372 |
---|---|
Hunter Lab | 17.936, 12.361, -15.12 |
CIE-LAB | 20.893, 20.457, -21.438 |
CIE-LCH | 20.893, 29.632, 313.659 |
CIE-LUV | 21.95, 51.22, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402852
CMYK percent of color #402852
Text with hexadecimal color #402852
This text has a font color of #402852
<p style="color:#402852">Text here</p>
#402852 Background Color
This box has a background color of #402852
<div style="background-color:#402852">Text here</div>
#402852 Border Color
This box has a border color of #402852
<div style="border: 4px solid #402852">Text here</div>
CSS codes
<p style="color:#402852">Text here</p>
<div style="background-color:#402852">Text here</div>
<div style="border: 4px solid #402852">Text here</div>
#402852 Color on white background
This is how a font and box color of #402852 will look
on a white background.
#402852 Color on black background
This is how a font and box color of #402852 hex color will look
on a black background.