HEX: #4F752B
RGB: (79,117,43)
#4F752B contains mainly red and green colors. Web safe color of #4F752B is #666633 (or #663).
#4F752B color RGB value is (79,117,43).
RGB: (79,117,43) (31%,46%,17%)
R 79 of 255 = 31%
G 117 of 255 = 46%
B 43 of 255 = 17%
R + G + B ~ 31%. #4F752B is quite dark color.
R + G + B =
79 + 117 + 43 = 239 (100%)
R 79 of 239 ~ 33.05%
G 117 of 239 ~ 48.95%
B 43 of 239 ~ 17.99%
#4F752B color CMYK value is (32,0,63,54).
CMYK: (32,0,63,54) C32M0Y63K54 (32%,0%,63%,54%) (0.32/0.00/0.63/0.54)
4F | 75 | 2B | |
---|---|---|---|
RGB | 79 | 117 | 43 |
HSL | 91° | 46.25% | 31.37% |
HSB/HSV | 91° | 63.25% | 45.88% |
CMYK | 32.48% | 0.00% | 63.25% |
54.12% |
HEX | 4F | 75 | 2B |
Decimal | 79 | 117 | 43 |
Binary | 1001111 | 1110101 | 101011 |
Octal | 117 | 165 | 53 |
Examples of css and html codes for elements with #4F752B color. Also use rgb(79,117,43) instead hex code.
.myTextColor { color: #4F752B; }
<p style="color:#4F752B">This sample text font color is #4F752B.</p>
This text font color is #4F752B.
.myBgColor { background-color: #4F752B; }
<div style="background-color:#4F752B">Inner text</div>
This div background color is #4F752B.
.myBorderColor { border: 1px solid #4F752B; }
<div style="border:3px solid #4F752B">Div</div>
This div border color is #4F752B.
.myOpacity80 { color: #4F752B; opacity: 0.8; }
<p style="color:#4F752B;opacity:0.8;">80%</p>
Text with #4F752B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F752B;}
<p style="text-shadow: 3px 3px 1px #4F752B">Text here.</p>
This text has shadow with #4F752B color.
.textShadow {text-shadow: 3px 3px 1px #4F752B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F752B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F752B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F752B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F752B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F752B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F752B; -webkit-box-shadow: 1px 1px 3px 2px #4F752B; box-shadow: 1px 1px 3px 2px #4F752B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F752B; -webkit-box-shadow: 1px 1px 3px 2px #4F752B; box-shadow:1px 1px 3px 2px #4F752B;">
Div content here</div>
This text has color #4F752B on black background.
This text has color #4F752B on white background.
This text has black color on #4F752B background.
This text has white color on #4F752B background.