HEX: #74807C
RGB: (116,128,124)
#74807C contains red, green and blue colors in about the same proportion. Web safe color of #74807C is #666666 (or #666).
#74807C color RGB value is (116,128,124).
RGB: (116,128,124) (45%,50%,49%)
R 116 of 255 = 45%
G 128 of 255 = 50%
B 124 of 255 = 49%
R + G + B ~ 48%. #74807C is middle color (not dark and not light).
R + G + B =
116 + 128 + 124 = 368 (100%)
R 116 of 368 ~ 31.52%
G 128 of 368 ~ 34.78%
B 124 of 368 ~ 33.7%
#74807C color CMYK value is (9,0,3,50).
CMYK: (9,0,3,50) C9M0Y3K50 (9%,0%,3%,50%) (0.09/0.00/0.03/0.50)
74 | 80 | 7C | |
---|---|---|---|
RGB | 116 | 128 | 124 |
HSL | 160° | 4.92% | 47.84% |
HSB/HSV | 160° | 9.38% | 50.20% |
CMYK | 9.38% | 0.00% | 3.12% |
49.80% |
HEX | 74 | 80 | 7C |
Decimal | 116 | 128 | 124 |
Binary | 1110100 | 10000000 | 1111100 |
Octal | 164 | 200 | 174 |
Examples of css and html codes for elements with #74807C color. Also use rgb(116,128,124) instead hex code.
.myTextColor { color: #74807C; }
<p style="color:#74807C">This sample text font color is #74807C.</p>
This text font color is #74807C.
.myBgColor { background-color: #74807C; }
<div style="background-color:#74807C">Inner text</div>
This div background color is #74807C.
.myBorderColor { border: 1px solid #74807C; }
<div style="border:3px solid #74807C">Div</div>
This div border color is #74807C.
.myOpacity80 { color: #74807C; opacity: 0.8; }
<p style="color:#74807C;opacity:0.8;">80%</p>
Text with #74807C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74807C;}
<p style="text-shadow: 3px 3px 1px #74807C">Text here.</p>
This text has shadow with #74807C color.
.textShadow {text-shadow: 3px 3px 1px #74807C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74807C, 5px 5px 20px red">Text here.</p>
This text has shadow with #74807C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74807C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74807C, Direction=45, Strength=4)">Text</p>
This text has shadow with #74807C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74807C; -webkit-box-shadow: 1px 1px 3px 2px #74807C; box-shadow: 1px 1px 3px 2px #74807C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74807C; -webkit-box-shadow: 1px 1px 3px 2px #74807C; box-shadow:1px 1px 3px 2px #74807C;">
Div content here</div>
This text has color #74807C on black background.
This text has color #74807C on white background.
This text has black color on #74807C background.
This text has white color on #74807C background.