In RGB color space, #020842 hex color has a red value of 2, a green value of 8 and a blue value of 66.
In CMYK color space (used in color printing), #020842 hex color is composed of 96.97% cyan, 87.88% magenta, 0% yellow and 74.12% black.
#020842 color has a hue of 234.4 degrees, a saturation of 94.12% and a lightness of 13.3%.
#020842 hex color contains mainly BLUE.
The closest web safe color of #020842 is #000033
#020842 hex color has a decimal value of 133186.
HEX | 020842 | #020842 |
---|---|---|
RGB | 2, 8, 66 | rgb(2, 8, 66) |
RGB Percent | 0.78, 3.14, 25.88 | rgb(0.78, 3.14, 25.88) |
CMYK | 97, 88, 0, 74 | |
HSL | 234.4°, 94.12, 13.3 | hsl(234.4, 94.12%, 13.3%) |
HSV | 234.4°, 97, 25.9 |
XYZ | 1.095, 0.58, 5.208 |
---|---|
Hunter Lab | 7.616, 12.337, -35.214 |
CIE-LAB | 5.239, 21.379, -35.98 |
CIE-LCH | 5.239, 41.852, 300.718 |
CIE-LUV | 96.97, 87.88, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #020842
CMYK percent of color #020842
Text with hexadecimal color #020842
This text has a font color of #020842
<p style="color:#020842">Text here</p>
#020842 Background Color
This box has a background color of #020842
<div style="background-color:#020842">Text here</div>
#020842 Border Color
This box has a border color of #020842
<div style="border: 4px solid #020842">Text here</div>
CSS codes
<p style="color:#020842">Text here</p>
<div style="background-color:#020842">Text here</div>
<div style="border: 4px solid #020842">Text here</div>
#020842 Color on white background
This is how a font and box color of #020842 will look
on a white background.
#020842 Color on black background
This is how a font and box color of #020842 hex color will look
on a black background.