HEX: #4B7311
RGB: (75,115,17)
#4B7311 contains mainly red and green colors. Web safe color of #4B7311 is #336600 (or #360).
#4B7311 color RGB value is (75,115,17).
RGB: (75,115,17) (29%,45%,7%)
R 75 of 255 = 29%
G 115 of 255 = 45%
B 17 of 255 = 7%
R + G + B ~ 27%. #4B7311 is quite dark color.
R + G + B =
75 + 115 + 17 = 207 (100%)
R 75 of 207 ~ 36.23%
G 115 of 207 ~ 55.56%
B 17 of 207 ~ 8.21%
#4B7311 color CMYK value is (35,0,85,55).
CMYK: (35,0,85,55) C35M0Y85K55 (35%,0%,85%,55%) (0.35/0.00/0.85/0.55)
4B | 73 | 11 | |
---|---|---|---|
RGB | 75 | 115 | 17 |
HSL | 84° | 74.24% | 25.88% |
HSB/HSV | 84° | 85.22% | 45.10% |
CMYK | 34.78% | 0.00% | 85.22% |
54.90% |
HEX | 4B | 73 | 11 |
Decimal | 75 | 115 | 17 |
Binary | 1001011 | 1110011 | 10001 |
Octal | 113 | 163 | 21 |
Examples of css and html codes for elements with #4B7311 color. Also use rgb(75,115,17) instead hex code.
.myTextColor { color: #4B7311; }
<p style="color:#4B7311">This sample text font color is #4B7311.</p>
This text font color is #4B7311.
.myBgColor { background-color: #4B7311; }
<div style="background-color:#4B7311">Inner text</div>
This div background color is #4B7311.
.myBorderColor { border: 1px solid #4B7311; }
<div style="border:3px solid #4B7311">Div</div>
This div border color is #4B7311.
.myOpacity80 { color: #4B7311; opacity: 0.8; }
<p style="color:#4B7311;opacity:0.8;">80%</p>
Text with #4B7311 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7311;}
<p style="text-shadow: 3px 3px 1px #4B7311">Text here.</p>
This text has shadow with #4B7311 color.
.textShadow {text-shadow: 3px 3px 1px #4B7311, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7311, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B7311 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7311, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7311, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7311 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B7311; -webkit-box-shadow: 1px 1px 3px 2px #4B7311; box-shadow: 1px 1px 3px 2px #4B7311; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B7311; -webkit-box-shadow: 1px 1px 3px 2px #4B7311; box-shadow:1px 1px 3px 2px #4B7311;">
Div content here</div>
This text has color #4B7311 on black background.
This text has color #4B7311 on white background.
This text has black color on #4B7311 background.
This text has white color on #4B7311 background.