In RGB color space, #402270 hex color has a red value of 64, a green value of 34 and a blue value of 112.
In CMYK color space (used in color printing), #402270 hex color is composed of 42.86% cyan, 69.64% magenta, 0% yellow and 56.08% black.
#402270 color has a hue of 263.1 degrees, a saturation of 53.42% and a lightness of 28.6%.
#402270 hex color contains mainly BLUE.
The closest web safe color of #402270 is #333366
#402270 hex color has a decimal value of 4203120.
HEX | 402270 | #402270 |
---|---|---|
RGB | 64, 34, 112 | rgb(64, 34, 112) |
RGB Percent | 25.1, 13.33, 43.92 | rgb(25.1, 13.33, 43.92) |
CMYK | 43, 70, 0, 56 | |
HSL | 263.1°, 53.42, 28.6 | hsl(263.1, 53.42%, 28.6%) |
HSV | 263.1°, 69.6, 43.9 |
XYZ | 5.611, 3.404, 15.691 |
---|---|
Hunter Lab | 18.45, 21.998, -37.509 |
CIE-LAB | 21.594, 32.643, -40.038 |
CIE-LCH | 21.594, 51.659, 309.19 |
CIE-LUV | 42.86, 69.64, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #402270
CMYK percent of color #402270
Text with hexadecimal color #402270
This text has a font color of #402270
<p style="color:#402270">Text here</p>
#402270 Background Color
This box has a background color of #402270
<div style="background-color:#402270">Text here</div>
#402270 Border Color
This box has a border color of #402270
<div style="border: 4px solid #402270">Text here</div>
CSS codes
<p style="color:#402270">Text here</p>
<div style="background-color:#402270">Text here</div>
<div style="border: 4px solid #402270">Text here</div>
#402270 Color on white background
This is how a font and box color of #402270 will look
on a white background.
#402270 Color on black background
This is how a font and box color of #402270 hex color will look
on a black background.