In RGB color space, #402870 hex color has a red value of 64, a green value of 40 and a blue value of 112.
In CMYK color space (used in color printing), #402870 hex color is composed of 42.86% cyan, 64.29% magenta, 0% yellow and 56.08% black.
#402870 color has a hue of 260 degrees, a saturation of 47.37% and a lightness of 29.8%.
#402870 hex color contains mainly BLUE.
The closest web safe color of #402870 is #333366
#402870 hex color has a decimal value of 4204656.
HEX | 402870 | #402870 |
---|---|---|
RGB | 64, 40, 112 | rgb(64, 40, 112) |
RGB Percent | 25.1, 15.69, 43.92 | rgb(25.1, 15.69, 43.92) |
CMYK | 43, 64, 0, 56 | |
HSL | 260°, 47.37, 29.8 | hsl(260, 47.37%, 29.8%) |
HSV | 260°, 64.3, 43.9 |
XYZ | 5.798, 3.777, 15.753 |
---|---|
Hunter Lab | 19.435, 19.242, -34.454 |
CIE-LAB | 22.92, 29.067, -37.89 |
CIE-LCH | 22.92, 47.755, 307.493 |
CIE-LUV | 42.86, 64.29, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #402870
CMYK percent of color #402870
Text with hexadecimal color #402870
This text has a font color of #402870
<p style="color:#402870">Text here</p>
#402870 Background Color
This box has a background color of #402870
<div style="background-color:#402870">Text here</div>
#402870 Border Color
This box has a border color of #402870
<div style="border: 4px solid #402870">Text here</div>
CSS codes
<p style="color:#402870">Text here</p>
<div style="background-color:#402870">Text here</div>
<div style="border: 4px solid #402870">Text here</div>
#402870 Color on white background
This is how a font and box color of #402870 will look
on a white background.
#402870 Color on black background
This is how a font and box color of #402870 hex color will look
on a black background.