HEX: #74797C
RGB: (116,121,124)
#74797C contains red, green and blue colors in about the same proportion. Web safe color of #74797C is #666666 (or #666).
#74797C color RGB value is (116,121,124).
RGB: (116,121,124) (45%,47%,49%)
R 116 of 255 = 45%
G 121 of 255 = 47%
B 124 of 255 = 49%
R + G + B ~ 47%. #74797C is middle color (not dark and not light).
R + G + B =
116 + 121 + 124 = 361 (100%)
R 116 of 361 ~ 32.13%
G 121 of 361 ~ 33.52%
B 124 of 361 ~ 34.35%
#74797C color CMYK value is (6,2,0,51).
CMYK: (6,2,0,51) C6M2Y0K51 (6%,2%,0%,51%) (0.06/0.02/0.00/0.51)
74 | 79 | 7C | |
---|---|---|---|
RGB | 116 | 121 | 124 |
HSL | 203° | 3.33% | 47.06% |
HSB/HSV | 203° | 6.45% | 48.63% |
CMYK | 6.45% | 2.42% | 0.00% |
51.37% |
HEX | 74 | 79 | 7C |
Decimal | 116 | 121 | 124 |
Binary | 1110100 | 1111001 | 1111100 |
Octal | 164 | 171 | 174 |
Examples of css and html codes for elements with #74797C color. Also use rgb(116,121,124) instead hex code.
.myTextColor { color: #74797C; }
<p style="color:#74797C">This sample text font color is #74797C.</p>
This text font color is #74797C.
.myBgColor { background-color: #74797C; }
<div style="background-color:#74797C">Inner text</div>
This div background color is #74797C.
.myBorderColor { border: 1px solid #74797C; }
<div style="border:3px solid #74797C">Div</div>
This div border color is #74797C.
.myOpacity80 { color: #74797C; opacity: 0.8; }
<p style="color:#74797C;opacity:0.8;">80%</p>
Text with #74797C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74797C;}
<p style="text-shadow: 3px 3px 1px #74797C">Text here.</p>
This text has shadow with #74797C color.
.textShadow {text-shadow: 3px 3px 1px #74797C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74797C, 5px 5px 20px red">Text here.</p>
This text has shadow with #74797C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74797C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74797C, Direction=45, Strength=4)">Text</p>
This text has shadow with #74797C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74797C; -webkit-box-shadow: 1px 1px 3px 2px #74797C; box-shadow: 1px 1px 3px 2px #74797C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74797C; -webkit-box-shadow: 1px 1px 3px 2px #74797C; box-shadow:1px 1px 3px 2px #74797C;">
Div content here</div>
This text has color #74797C on black background.
This text has color #74797C on white background.
This text has black color on #74797C background.
This text has white color on #74797C background.