In the RGB color space, #020708 is composed of 0.7843% red, 2.7451% green, and 3.1373% blue.
In the CMYK color space, #020708 is composed of 75.16% cyan, 12.42% magenta, 0% yellow, and 96.86% black,
It has a hue angle of 189.9 degrees, a saturation of 60.2%, and a lightness of 1.96%.
The closest websafe color is #000000.
The hexadecimal color #020708 has RGB values of R:2, G:7, B:8 and CMYK values of C:75.16, M:12.42, Y:0, K:96.86. It has a decimal value of 132872.
Hexadecimal | #020708 | #020708 |
RGB Decimal | 2, 7, 8 | rgb(2, 7, 8) |
RGB Percent | 0.7843, 2.7451, 3.1373 | rgb(0.7843%, 2.7451%, 3.1373%) |
RGB Proportion | 0.0078, 0.0275, 0.0314 | rgb(0.0078, 0.0275, 0.0314) |
CMYK | 75.16, 12.42, 0, 96.86 | |
HSL | 189.9ยบ, 60.2, 1.96 | hsl(189.9, 60.2%, 1.96%) |
Websafe | 000000 | #000000 |
XYZ | 0.145, 0.183, 0.258 | |
Yxy | 0.183, 0.247, 0.312 | |
CIE-LAB | 1.653, -1.185, -0.84 | |
CIE-LCH | 1.653, 1.453, 215.331 | |
CIE-LUV | 1.653, -0.85, -0.405 | |
Hunter-Lab | 4.278, -1.436, -0.581 |
Colors that go well with #020708.
Common HTML and CSS shortcodes for #020708.
<div style="color: #020708;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #020708;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #020708;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #020708 to transparent.
<div style="background: linear-gradient(#020708, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #020708 to transparent.
<div style="background: radial-gradient(#020708, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #020708 to #FDF8F7.
<div style="background: linear-gradient(#020708, #FDF8F7);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #020708 to #FDF8F7.
<div style="background: radial-gradient(#020708, #FDF8F7);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #020708; }
.background { background-color: #020708; }
.border { border: 1px solid #020708; }
.linear-gradient { background: linear-gradient(#faf310, rgba(255, 255, 255, 0)); }
.radial-gradient { background: radial-gradient(#faf310, rgba(255, 255, 255, 0)); }
Shades are created by adding black to the color, while a tint is created by mixing white. The darkest shade in this example is #000000 while the lightest tint is #FAFAFA.