In RGB color space, #021040 hex color has a red value of 2, a green value of 16 and a blue value of 64.
In CMYK color space (used in color printing), #021040 hex color is composed of 96.88% cyan, 75% magenta, 0% yellow and 74.9% black.
#021040 color has a hue of 226.5 degrees, a saturation of 93.94% and a lightness of 12.9%.
#021040 hex color contains mainly BLUE.
The closest web safe color of #021040 is #000033
#021040 hex color has a decimal value of 135232.
HEX | 021040 | #021040 |
---|---|---|
RGB | 2, 16, 64 | rgb(2, 16, 64) |
RGB Percent | 0.78, 6.27, 25.1 | rgb(0.78, 6.27, 25.1) |
CMYK | 97, 75, 0, 75 | |
HSL | 226.5°, 93.94, 12.9 | hsl(226.5, 93.94%, 12.9%) |
HSV | 226.5°, 96.9, 25.1 |
XYZ | 1.136, 0.754, 4.936 |
---|---|
Hunter Lab | 8.683, 8.157, -27.625 |
CIE-LAB | 6.811, 15.996, -31.984 |
CIE-LCH | 6.811, 35.761, 296.571 |
CIE-LUV | 96.88, 75, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #021040
CMYK percent of color #021040
Text with hexadecimal color #021040
This text has a font color of #021040
<p style="color:#021040">Text here</p>
#021040 Background Color
This box has a background color of #021040
<div style="background-color:#021040">Text here</div>
#021040 Border Color
This box has a border color of #021040
<div style="border: 4px solid #021040">Text here</div>
CSS codes
<p style="color:#021040">Text here</p>
<div style="background-color:#021040">Text here</div>
<div style="border: 4px solid #021040">Text here</div>
#021040 Color on white background
This is how a font and box color of #021040 will look
on a white background.
#021040 Color on black background
This is how a font and box color of #021040 hex color will look
on a black background.