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