In RGB color space, #020f42 hex color has a red value of 2, a green value of 15 and a blue value of 66.
In CMYK color space (used in color printing), #020f42 hex color is composed of 96.97% cyan, 77.27% magenta, 0% yellow and 74.12% black.
#020f42 color has a hue of 227.8 degrees, a saturation of 94.12% and a lightness of 13.3%.
#020f42 hex color contains mainly BLUE.
The closest web safe color of #020f42 is #000033
#020f42 hex color has a decimal value of 134978.
HEX | 020f42 | #020f42 |
---|---|---|
RGB | 2, 15, 66 | rgb(2, 15, 66) |
RGB Percent | 0.78, 5.88, 25.88 | rgb(0.78, 5.88, 25.88) |
CMYK | 97, 77, 0, 74 | |
HSL | 227.8°, 94.12, 13.3 | hsl(227.8, 94.12%, 13.3%) |
HSV | 227.8°, 97, 25.9 |
XYZ | 1.179, 0.748, 5.236 |
---|---|
Hunter Lab | 8.649, 9.198, -29.841 |
CIE-LAB | 6.757, 17.654, -33.494 |
CIE-LCH | 6.757, 37.862, 297.793 |
CIE-LUV | 96.97, 77.27, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #020f42
CMYK percent of color #020f42
Text with hexadecimal color #020f42
This text has a font color of #020f42
<p style="color:#020f42">Text here</p>
#020f42 Background Color
This box has a background color of #020f42
<div style="background-color:#020f42">Text here</div>
#020f42 Border Color
This box has a border color of #020f42
<div style="border: 4px solid #020f42">Text here</div>
CSS codes
<p style="color:#020f42">Text here</p>
<div style="background-color:#020f42">Text here</div>
<div style="border: 4px solid #020f42">Text here</div>
#020f42 Color on white background
This is how a font and box color of #020f42 will look
on a white background.
#020f42 Color on black background
This is how a font and box color of #020f42 hex color will look
on a black background.