In RGB color space, #402180 hex color has a red value of 64, a green value of 33 and a blue value of 128.
In CMYK color space (used in color printing), #402180 hex color is composed of 50% cyan, 74.22% magenta, 0% yellow and 49.8% black.
#402180 color has a hue of 259.6 degrees, a saturation of 59.01% and a lightness of 31.6%.
#402180 hex color contains mainly BLUE.
The closest web safe color of #402180 is #333399
#402180 hex color has a decimal value of 4202880.
HEX | 402180 | #402180 |
---|---|---|
RGB | 64, 33, 128 | rgb(64, 33, 128) |
RGB Percent | 25.1, 12.94, 50.2 | rgb(25.1, 12.94, 50.2) |
CMYK | 50, 74, 0, 50 | |
HSL | 259.6°, 59.01, 31.6 | hsl(259.6, 59.01%, 31.6%) |
HSV | 259.6°, 74.2, 50.2 |
XYZ | 6.554, 3.736, 20.798 |
---|---|
Hunter Lab | 19.329, 26.701, -50.267 |
CIE-LAB | 22.779, 37.884, -48.322 |
CIE-LCH | 22.779, 61.402, 308.096 |
CIE-LUV | 50, 74.22, 0, 49.8 |
Web Safe | 333399 |
RGB percent of color #402180
CMYK percent of color #402180
Text with hexadecimal color #402180
This text has a font color of #402180
<p style="color:#402180">Text here</p>
#402180 Background Color
This box has a background color of #402180
<div style="background-color:#402180">Text here</div>
#402180 Border Color
This box has a border color of #402180
<div style="border: 4px solid #402180">Text here</div>
CSS codes
<p style="color:#402180">Text here</p>
<div style="background-color:#402180">Text here</div>
<div style="border: 4px solid #402180">Text here</div>
#402180 Color on white background
This is how a font and box color of #402180 will look
on a white background.
#402180 Color on black background
This is how a font and box color of #402180 hex color will look
on a black background.