HEX: #4F791B
RGB: (79,121,27)
#4F791B contains mainly red and green colors. Web safe color of #4F791B is #666633 (or #663).
#4F791B color RGB value is (79,121,27).
RGB: (79,121,27) (31%,47%,11%)
R 79 of 255 = 31%
G 121 of 255 = 47%
B 27 of 255 = 11%
R + G + B ~ 30%. #4F791B is quite dark color.
R + G + B =
79 + 121 + 27 = 227 (100%)
R 79 of 227 ~ 34.8%
G 121 of 227 ~ 53.3%
B 27 of 227 ~ 11.89%
#4F791B color CMYK value is (35,0,78,53).
CMYK: (35,0,78,53) C35M0Y78K53 (35%,0%,78%,53%) (0.35/0.00/0.78/0.53)
4F | 79 | 1B | |
---|---|---|---|
RGB | 79 | 121 | 27 |
HSL | 87° | 63.51% | 29.02% |
HSB/HSV | 87° | 77.69% | 47.45% |
CMYK | 34.71% | 0.00% | 77.69% |
52.55% |
HEX | 4F | 79 | 1B |
Decimal | 79 | 121 | 27 |
Binary | 1001111 | 1111001 | 11011 |
Octal | 117 | 171 | 33 |
Examples of css and html codes for elements with #4F791B color. Also use rgb(79,121,27) instead hex code.
.myTextColor { color: #4F791B; }
<p style="color:#4F791B">This sample text font color is #4F791B.</p>
This text font color is #4F791B.
.myBgColor { background-color: #4F791B; }
<div style="background-color:#4F791B">Inner text</div>
This div background color is #4F791B.
.myBorderColor { border: 1px solid #4F791B; }
<div style="border:3px solid #4F791B">Div</div>
This div border color is #4F791B.
.myOpacity80 { color: #4F791B; opacity: 0.8; }
<p style="color:#4F791B;opacity:0.8;">80%</p>
Text with #4F791B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F791B;}
<p style="text-shadow: 3px 3px 1px #4F791B">Text here.</p>
This text has shadow with #4F791B color.
.textShadow {text-shadow: 3px 3px 1px #4F791B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F791B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F791B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F791B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F791B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F791B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F791B; -webkit-box-shadow: 1px 1px 3px 2px #4F791B; box-shadow: 1px 1px 3px 2px #4F791B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F791B; -webkit-box-shadow: 1px 1px 3px 2px #4F791B; box-shadow:1px 1px 3px 2px #4F791B;">
Div content here</div>
This text has color #4F791B on black background.
This text has color #4F791B on white background.
This text has black color on #4F791B background.
This text has white color on #4F791B background.