In RGB color space, #020040 hex color has a red value of 2, a green value of 0 and a blue value of 64.
In CMYK color space (used in color printing), #020040 hex color is composed of 96.88% cyan, 100% magenta, 0% yellow and 74.9% black.
#020040 color has a hue of 241.9 degrees, a saturation of 100% and a lightness of 12.5%.
#020040 hex color contains mainly BLUE.
The closest web safe color of #020040 is #000033
#020040 hex color has a decimal value of 131136.
HEX | 020040 | #020040 |
---|---|---|
RGB | 2, 0, 64 | rgb(2, 0, 64) |
RGB Percent | 0.78, 0, 25.1 | rgb(0.78, 0, 25.1) |
CMYK | 97, 100, 0, 75 | |
HSL | 241.9°, 100, 12.5 | hsl(241.9, 100%, 12.5%) |
HSV | 241.9°, 100, 25.1 |
XYZ | 0.95, 0.383, 4.874 |
---|---|
Hunter Lab | 6.189, 16.571, -42.363 |
CIE-LAB | 3.46, 23.826, -37.462 |
CIE-LCH | 3.46, 44.397, 302.457 |
CIE-LUV | 96.88, 100, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #020040
CMYK percent of color #020040
Text with hexadecimal color #020040
This text has a font color of #020040
<p style="color:#020040">Text here</p>
#020040 Background Color
This box has a background color of #020040
<div style="background-color:#020040">Text here</div>
#020040 Border Color
This box has a border color of #020040
<div style="border: 4px solid #020040">Text here</div>
CSS codes
<p style="color:#020040">Text here</p>
<div style="background-color:#020040">Text here</div>
<div style="border: 4px solid #020040">Text here</div>
#020040 Color on white background
This is how a font and box color of #020040 will look
on a white background.
#020040 Color on black background
This is how a font and box color of #020040 hex color will look
on a black background.