HEX: #4F7120
RGB: (79,113,32)
#4F7120 contains mainly red and green colors. Web safe color of #4F7120 is #666633 (or #663).
#4F7120 color RGB value is (79,113,32).
RGB: (79,113,32) (31%,44%,13%)
R 79 of 255 = 31%
G 113 of 255 = 44%
B 32 of 255 = 13%
R + G + B ~ 29%. #4F7120 is quite dark color.
R + G + B =
79 + 113 + 32 = 224 (100%)
R 79 of 224 ~ 35.27%
G 113 of 224 ~ 50.45%
B 32 of 224 ~ 14.29%
#4F7120 color CMYK value is (30,0,72,56).
CMYK: (30,0,72,56) C30M0Y72K56 (30%,0%,72%,56%) (0.30/0.00/0.72/0.56)
4F | 71 | 20 | |
---|---|---|---|
RGB | 79 | 113 | 32 |
HSL | 85° | 55.86% | 28.43% |
HSB/HSV | 85° | 71.68% | 44.31% |
CMYK | 30.09% | 0.00% | 71.68% |
55.69% |
HEX | 4F | 71 | 20 |
Decimal | 79 | 113 | 32 |
Binary | 1001111 | 1110001 | 100000 |
Octal | 117 | 161 | 40 |
Examples of css and html codes for elements with #4F7120 color. Also use rgb(79,113,32) instead hex code.
.myTextColor { color: #4F7120; }
<p style="color:#4F7120">This sample text font color is #4F7120.</p>
This text font color is #4F7120.
.myBgColor { background-color: #4F7120; }
<div style="background-color:#4F7120">Inner text</div>
This div background color is #4F7120.
.myBorderColor { border: 1px solid #4F7120; }
<div style="border:3px solid #4F7120">Div</div>
This div border color is #4F7120.
.myOpacity80 { color: #4F7120; opacity: 0.8; }
<p style="color:#4F7120;opacity:0.8;">80%</p>
Text with #4F7120 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F7120;}
<p style="text-shadow: 3px 3px 1px #4F7120">Text here.</p>
This text has shadow with #4F7120 color.
.textShadow {text-shadow: 3px 3px 1px #4F7120, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F7120, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F7120 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F7120, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F7120, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F7120 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F7120; -webkit-box-shadow: 1px 1px 3px 2px #4F7120; box-shadow: 1px 1px 3px 2px #4F7120; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F7120; -webkit-box-shadow: 1px 1px 3px 2px #4F7120; box-shadow:1px 1px 3px 2px #4F7120;">
Div content here</div>
This text has color #4F7120 on black background.
This text has color #4F7120 on white background.
This text has black color on #4F7120 background.
This text has white color on #4F7120 background.