In the RGB color space, #666666 is composed of 40% red, 40% green, and 40% blue.
In the CMYK color space, #666666 is composed of 0% cyan, 0% magenta, 0% yellow, and 60% black,
It has a hue angle of 0 degrees, a saturation of 0%, and a lightness of 40%.
This is a websafe color.
The hexadecimal color #666666 has RGB values of R:102, G:102, B:102 and CMYK values of C:0, M:0, Y:0, K:60. It has a decimal value of 6710886.
Hexadecimal | #666666 | #666666 |
RGB Decimal | 102, 102, 102 | rgb(102, 102, 102) |
RGB Percent | 40, 40, 40 | rgb(40%, 40%, 40%) |
RGB Proportion | 0.4, 0.4, 0.4 | rgb(0.4, 0.4, 0.4) |
CMYK | 0, 0, 0, 60 | |
HSL | 0ยบ, 0, 40 | hsl(0, 0%, 40%) |
Websafe | 666666 | #666666 |
XYZ | 12.629, 13.287, 14.469 | |
Yxy | 13.287, 0.313, 0.329 | |
CIE-LAB | 43.193, 0.001, -0.004 | |
CIE-LCH | 43.193, 0.004, 284.036 | |
CIE-LUV | 43.193, -0.001, -0.005 | |
Hunter-Lab | 36.451, -1.946, 1.981 |
Colors that go well with #666666.
Common HTML and CSS shortcodes for #666666.
<div style="color: #666666;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #666666;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #666666;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #666666 to transparent.
<div style="background: linear-gradient(#666666, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #666666 to transparent.
<div style="background: radial-gradient(#666666, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #666666 to #999999.
<div style="background: linear-gradient(#666666, #999999);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #666666 to #999999.
<div style="background: radial-gradient(#666666, #999999);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #666666; }
.background { background-color: #666666; }
.border { border: 1px solid #666666; }
.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 #020202 while the lightest tint is #FCFCFC.