HEX: #4F821C
RGB: (79,130,28)
#4F821C contains mainly red and green colors. Web safe color of #4F821C is #669933 (or #693).
#4F821C color RGB value is (79,130,28).
RGB: (79,130,28) (31%,51%,11%)
R 79 of 255 = 31%
G 130 of 255 = 51%
B 28 of 255 = 11%
R + G + B ~ 31%. #4F821C is quite dark color.
R + G + B =
79 + 130 + 28 = 237 (100%)
R 79 of 237 ~ 33.33%
G 130 of 237 ~ 54.85%
B 28 of 237 ~ 11.81%
#4F821C color CMYK value is (39,0,78,49).
CMYK: (39,0,78,49) C39M0Y78K49 (39%,0%,78%,49%) (0.39/0.00/0.78/0.49)
4F | 82 | 1C | |
---|---|---|---|
RGB | 79 | 130 | 28 |
HSL | 90° | 64.56% | 30.98% |
HSB/HSV | 90° | 78.46% | 50.98% |
CMYK | 39.23% | 0.00% | 78.46% |
49.02% |
HEX | 4F | 82 | 1C |
Decimal | 79 | 130 | 28 |
Binary | 1001111 | 10000010 | 11100 |
Octal | 117 | 202 | 34 |
Examples of css and html codes for elements with #4F821C color. Also use rgb(79,130,28) instead hex code.
.myTextColor { color: #4F821C; }
<p style="color:#4F821C">This sample text font color is #4F821C.</p>
This text font color is #4F821C.
.myBgColor { background-color: #4F821C; }
<div style="background-color:#4F821C">Inner text</div>
This div background color is #4F821C.
.myBorderColor { border: 1px solid #4F821C; }
<div style="border:3px solid #4F821C">Div</div>
This div border color is #4F821C.
.myOpacity80 { color: #4F821C; opacity: 0.8; }
<p style="color:#4F821C;opacity:0.8;">80%</p>
Text with #4F821C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F821C;}
<p style="text-shadow: 3px 3px 1px #4F821C">Text here.</p>
This text has shadow with #4F821C color.
.textShadow {text-shadow: 3px 3px 1px #4F821C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F821C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F821C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F821C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F821C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F821C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F821C; -webkit-box-shadow: 1px 1px 3px 2px #4F821C; box-shadow: 1px 1px 3px 2px #4F821C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F821C; -webkit-box-shadow: 1px 1px 3px 2px #4F821C; box-shadow:1px 1px 3px 2px #4F821C;">
Div content here</div>
This text has color #4F821C on black background.
This text has color #4F821C on white background.
This text has black color on #4F821C background.
This text has white color on #4F821C background.