HEX: #4F766F
RGB: (79,118,111)
#4F766F contains red, green and blue colors in about the same proportion. Web safe color of #4F766F is #666666 (or #666).
#4F766F color RGB value is (79,118,111).
RGB: (79,118,111) (31%,46%,44%)
R 79 of 255 = 31%
G 118 of 255 = 46%
B 111 of 255 = 44%
R + G + B ~ 40%. #4F766F is middle color (not dark and not light).
R + G + B =
79 + 118 + 111 = 308 (100%)
R 79 of 308 ~ 25.65%
G 118 of 308 ~ 38.31%
B 111 of 308 ~ 36.04%
#4F766F color CMYK value is (33,0,6,54).
CMYK: (33,0,6,54) C33M0Y6K54 (33%,0%,6%,54%) (0.33/0.00/0.06/0.54)
4F | 76 | 6F | |
---|---|---|---|
RGB | 79 | 118 | 111 |
HSL | 169° | 19.80% | 38.63% |
HSB/HSV | 169° | 33.05% | 46.27% |
CMYK | 33.05% | 0.00% | 5.93% |
53.73% |
HEX | 4F | 76 | 6F |
Decimal | 79 | 118 | 111 |
Binary | 1001111 | 1110110 | 1101111 |
Octal | 117 | 166 | 157 |
Examples of css and html codes for elements with #4F766F color. Also use rgb(79,118,111) instead hex code.
.myTextColor { color: #4F766F; }
<p style="color:#4F766F">This sample text font color is #4F766F.</p>
This text font color is #4F766F.
.myBgColor { background-color: #4F766F; }
<div style="background-color:#4F766F">Inner text</div>
This div background color is #4F766F.
.myBorderColor { border: 1px solid #4F766F; }
<div style="border:3px solid #4F766F">Div</div>
This div border color is #4F766F.
.myOpacity80 { color: #4F766F; opacity: 0.8; }
<p style="color:#4F766F;opacity:0.8;">80%</p>
Text with #4F766F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F766F;}
<p style="text-shadow: 3px 3px 1px #4F766F">Text here.</p>
This text has shadow with #4F766F color.
.textShadow {text-shadow: 3px 3px 1px #4F766F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F766F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F766F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F766F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F766F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F766F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F766F; -webkit-box-shadow: 1px 1px 3px 2px #4F766F; box-shadow: 1px 1px 3px 2px #4F766F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F766F; -webkit-box-shadow: 1px 1px 3px 2px #4F766F; box-shadow:1px 1px 3px 2px #4F766F;">
Div content here</div>
This text has color #4F766F on black background.
This text has color #4F766F on white background.
This text has black color on #4F766F background.
This text has white color on #4F766F background.