In RGB color space, #402060 hex color has a red value of 64, a green value of 32 and a blue value of 96.
In CMYK color space (used in color printing), #402060 hex color is composed of 33.33% cyan, 66.67% magenta, 0% yellow and 62.35% black.
#402060 color has a hue of 270 degrees, a saturation of 50% and a lightness of 25.1%.
#402060 hex color contains mainly BLUE.
The closest web safe color of #402060 is #333366
#402060 hex color has a decimal value of 4202592.
HEX | 402060 | #402060 |
---|---|---|
RGB | 64, 32, 96 | rgb(64, 32, 96) |
RGB Percent | 25.1, 12.55, 37.65 | rgb(25.1, 12.55, 37.65) |
CMYK | 33, 67, 0, 62 | |
HSL | 270°, 50, 25.1 | hsl(270, 50%, 25.1%) |
HSV | 270°, 66.7, 37.6 |
XYZ | 4.742, 2.968, 11.389 |
---|---|
Hunter Lab | 17.228, 18.984, -27.136 |
CIE-LAB | 19.915, 29.261, -32.311 |
CIE-LCH | 19.915, 43.591, 312.164 |
CIE-LUV | 33.33, 66.67, 0, 62.35 |
Web Safe | 333366 |
RGB percent of color #402060
CMYK percent of color #402060
Text with hexadecimal color #402060
This text has a font color of #402060
<p style="color:#402060">Text here</p>
#402060 Background Color
This box has a background color of #402060
<div style="background-color:#402060">Text here</div>
#402060 Border Color
This box has a border color of #402060
<div style="border: 4px solid #402060">Text here</div>
CSS codes
<p style="color:#402060">Text here</p>
<div style="background-color:#402060">Text here</div>
<div style="border: 4px solid #402060">Text here</div>
#402060 Color on white background
This is how a font and box color of #402060 will look
on a white background.
#402060 Color on black background
This is how a font and box color of #402060 hex color will look
on a black background.