HEX: #4F760B
RGB: (79,118,11)
#4F760B contains mainly red and green colors. Web safe color of #4F760B is #666600 (or #660).
#4F760B color RGB value is (79,118,11).
RGB: (79,118,11) (31%,46%,4%)
R 79 of 255 = 31%
G 118 of 255 = 46%
B 11 of 255 = 4%
R + G + B ~ 27%. #4F760B is quite dark color.
R + G + B =
79 + 118 + 11 = 208 (100%)
R 79 of 208 ~ 37.98%
G 118 of 208 ~ 56.73%
B 11 of 208 ~ 5.29%
#4F760B color CMYK value is (33,0,91,54).
CMYK: (33,0,91,54) C33M0Y91K54 (33%,0%,91%,54%) (0.33/0.00/0.91/0.54)
4F | 76 | 0B | |
---|---|---|---|
RGB | 79 | 118 | 11 |
HSL | 82° | 82.95% | 25.29% |
HSB/HSV | 82° | 90.68% | 46.27% |
CMYK | 33.05% | 0.00% | 90.68% |
53.73% |
HEX | 4F | 76 | 0B |
Decimal | 79 | 118 | 11 |
Binary | 1001111 | 1110110 | 1011 |
Octal | 117 | 166 | 13 |
Examples of css and html codes for elements with #4F760B color. Also use rgb(79,118,11) instead hex code.
.myTextColor { color: #4F760B; }
<p style="color:#4F760B">This sample text font color is #4F760B.</p>
This text font color is #4F760B.
.myBgColor { background-color: #4F760B; }
<div style="background-color:#4F760B">Inner text</div>
This div background color is #4F760B.
.myBorderColor { border: 1px solid #4F760B; }
<div style="border:3px solid #4F760B">Div</div>
This div border color is #4F760B.
.myOpacity80 { color: #4F760B; opacity: 0.8; }
<p style="color:#4F760B;opacity:0.8;">80%</p>
Text with #4F760B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F760B;}
<p style="text-shadow: 3px 3px 1px #4F760B">Text here.</p>
This text has shadow with #4F760B color.
.textShadow {text-shadow: 3px 3px 1px #4F760B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F760B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F760B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F760B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F760B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F760B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F760B; -webkit-box-shadow: 1px 1px 3px 2px #4F760B; box-shadow: 1px 1px 3px 2px #4F760B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F760B; -webkit-box-shadow: 1px 1px 3px 2px #4F760B; box-shadow:1px 1px 3px 2px #4F760B;">
Div content here</div>
This text has color #4F760B on black background.
This text has color #4F760B on white background.
This text has black color on #4F760B background.
This text has white color on #4F760B background.