HEX: #79787B
RGB: (121,120,123)
#79787B contains red, green and blue colors in about the same proportion. Web safe color of #79787B is #666666 (or #666).
#79787B color RGB value is (121,120,123).
RGB: (121,120,123) (47%,47%,48%)
R 121 of 255 = 47%
G 120 of 255 = 47%
B 123 of 255 = 48%
R + G + B ~ 47%. #79787B is middle color (not dark and not light).
R + G + B =
121 + 120 + 123 = 364 (100%)
R 121 of 364 ~ 33.24%
G 120 of 364 ~ 32.97%
B 123 of 364 ~ 33.79%
#79787B color CMYK value is (2,2,0,52).
CMYK: (2,2,0,52) C2M2Y0K52 (2%,2%,0%,52%) (0.02/0.02/0.00/0.52)
79 | 78 | 7B | |
---|---|---|---|
RGB | 121 | 120 | 123 |
HSL | 260° | 1.23% | 47.65% |
HSB/HSV | 260° | 2.44% | 48.24% |
CMYK | 1.63% | 2.44% | 0.00% |
51.76% |
HEX | 79 | 78 | 7B |
Decimal | 121 | 120 | 123 |
Binary | 1111001 | 1111000 | 1111011 |
Octal | 171 | 170 | 173 |
Examples of css and html codes for elements with #79787B color. Also use rgb(121,120,123) instead hex code.
.myTextColor { color: #79787B; }
<p style="color:#79787B">This sample text font color is #79787B.</p>
This text font color is #79787B.
.myBgColor { background-color: #79787B; }
<div style="background-color:#79787B">Inner text</div>
This div background color is #79787B.
.myBorderColor { border: 1px solid #79787B; }
<div style="border:3px solid #79787B">Div</div>
This div border color is #79787B.
.myOpacity80 { color: #79787B; opacity: 0.8; }
<p style="color:#79787B;opacity:0.8;">80%</p>
Text with #79787B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #79787B;}
<p style="text-shadow: 3px 3px 1px #79787B">Text here.</p>
This text has shadow with #79787B color.
.textShadow {text-shadow: 3px 3px 1px #79787B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #79787B, 5px 5px 20px red">Text here.</p>
This text has shadow with #79787B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#79787B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#79787B, Direction=45, Strength=4)">Text</p>
This text has shadow with #79787B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #79787B; -webkit-box-shadow: 1px 1px 3px 2px #79787B; box-shadow: 1px 1px 3px 2px #79787B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #79787B; -webkit-box-shadow: 1px 1px 3px 2px #79787B; box-shadow:1px 1px 3px 2px #79787B;">
Div content here</div>
This text has color #79787B on black background.
This text has color #79787B on white background.
This text has black color on #79787B background.
This text has white color on #79787B background.