HEX: #4B7530
RGB: (75,117,48)
#4B7530 contains mainly red and green colors. Web safe color of #4B7530 is #336633 (or #363).
#4B7530 color RGB value is (75,117,48).
RGB: (75,117,48) (29%,46%,19%)
R 75 of 255 = 29%
G 117 of 255 = 46%
B 48 of 255 = 19%
R + G + B ~ 31%. #4B7530 is quite dark color.
R + G + B =
75 + 117 + 48 = 240 (100%)
R 75 of 240 ~ 31.25%
G 117 of 240 ~ 48.75%
B 48 of 240 ~ 20%
#4B7530 color CMYK value is (36,0,59,54).
CMYK: (36,0,59,54) C36M0Y59K54 (36%,0%,59%,54%) (0.36/0.00/0.59/0.54)
4B | 75 | 30 | |
---|---|---|---|
RGB | 75 | 117 | 48 |
HSL | 97° | 41.82% | 32.35% |
HSB/HSV | 97° | 58.97% | 45.88% |
CMYK | 35.90% | 0.00% | 58.97% |
54.12% |
HEX | 4B | 75 | 30 |
Decimal | 75 | 117 | 48 |
Binary | 1001011 | 1110101 | 110000 |
Octal | 113 | 165 | 60 |
Examples of css and html codes for elements with #4B7530 color. Also use rgb(75,117,48) instead hex code.
.myTextColor { color: #4B7530; }
<p style="color:#4B7530">This sample text font color is #4B7530.</p>
This text font color is #4B7530.
.myBgColor { background-color: #4B7530; }
<div style="background-color:#4B7530">Inner text</div>
This div background color is #4B7530.
.myBorderColor { border: 1px solid #4B7530; }
<div style="border:3px solid #4B7530">Div</div>
This div border color is #4B7530.
.myOpacity80 { color: #4B7530; opacity: 0.8; }
<p style="color:#4B7530;opacity:0.8;">80%</p>
Text with #4B7530 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7530;}
<p style="text-shadow: 3px 3px 1px #4B7530">Text here.</p>
This text has shadow with #4B7530 color.
.textShadow {text-shadow: 3px 3px 1px #4B7530, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7530, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B7530 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7530, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7530, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7530 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B7530; -webkit-box-shadow: 1px 1px 3px 2px #4B7530; box-shadow: 1px 1px 3px 2px #4B7530; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B7530; -webkit-box-shadow: 1px 1px 3px 2px #4B7530; box-shadow:1px 1px 3px 2px #4B7530;">
Div content here</div>
This text has color #4B7530 on black background.
This text has color #4B7530 on white background.
This text has black color on #4B7530 background.
This text has white color on #4B7530 background.