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