In RGB color space, #020170 hex color has a red value of 2, a green value of 1 and a blue value of 112.
In CMYK color space (used in color printing), #020170 hex color is composed of 98.21% cyan, 99.11% magenta, 0% yellow and 56.08% black.
#020170 color has a hue of 240.5 degrees, a saturation of 98.23% and a lightness of 22.2%.
#020170 hex color contains mainly BLUE.
The closest web safe color of #020170 is #000066
#020170 hex color has a decimal value of 131440.
HEX | 020170 | #020170 |
---|---|---|
RGB | 2, 1, 112 | rgb(2, 1, 112) |
RGB Percent | 0.78, 0.39, 43.92 | rgb(0.78, 0.39, 43.92) |
CMYK | 98, 99, 0, 56 | |
HSL | 240.5°, 98.23, 22.2 | hsl(240.5, 98.23%, 22.2%) |
HSV | 240.5°, 99.1, 43.9 |
XYZ | 2.961, 1.204, 15.406 |
---|---|
Hunter Lab | 10.973, 28.966, -75.564 |
CIE-LAB | 10.587, 42.729, -58.378 |
CIE-LCH | 10.587, 72.345, 306.202 |
CIE-LUV | 98.21, 99.11, 0, 56.08 |
Web Safe | 000066 |
RGB percent of color #020170
CMYK percent of color #020170
Text with hexadecimal color #020170
This text has a font color of #020170
<p style="color:#020170">Text here</p>
#020170 Background Color
This box has a background color of #020170
<div style="background-color:#020170">Text here</div>
#020170 Border Color
This box has a border color of #020170
<div style="border: 4px solid #020170">Text here</div>
CSS codes
<p style="color:#020170">Text here</p>
<div style="background-color:#020170">Text here</div>
<div style="border: 4px solid #020170">Text here</div>
#020170 Color on white background
This is how a font and box color of #020170 will look
on a white background.
#020170 Color on black background
This is how a font and box color of #020170 hex color will look
on a black background.