HEX: #4C8513
RGB: (76,133,19)
#4C8513 contains mainly red and green colors. Web safe color of #4C8513 is #339900 (or #390).
#4C8513 color RGB value is (76,133,19).
RGB: (76,133,19) (30%,52%,7%)
R 76 of 255 = 30%
G 133 of 255 = 52%
B 19 of 255 = 7%
R + G + B ~ 30%. #4C8513 is quite dark color.
R + G + B =
76 + 133 + 19 = 228 (100%)
R 76 of 228 ~ 33.33%
G 133 of 228 ~ 58.33%
B 19 of 228 ~ 8.33%
#4C8513 color CMYK value is (43,0,86,48).
CMYK: (43,0,86,48) C43M0Y86K48 (43%,0%,86%,48%) (0.43/0.00/0.86/0.48)
4C | 85 | 13 | |
---|---|---|---|
RGB | 76 | 133 | 19 |
HSL | 90° | 75.00% | 29.80% |
HSB/HSV | 90° | 85.71% | 52.16% |
CMYK | 42.86% | 0.00% | 85.71% |
47.84% |
HEX | 4C | 85 | 13 |
Decimal | 76 | 133 | 19 |
Binary | 1001100 | 10000101 | 10011 |
Octal | 114 | 205 | 23 |
Examples of css and html codes for elements with #4C8513 color. Also use rgb(76,133,19) instead hex code.
.myTextColor { color: #4C8513; }
<p style="color:#4C8513">This sample text font color is #4C8513.</p>
This text font color is #4C8513.
.myBgColor { background-color: #4C8513; }
<div style="background-color:#4C8513">Inner text</div>
This div background color is #4C8513.
.myBorderColor { border: 1px solid #4C8513; }
<div style="border:3px solid #4C8513">Div</div>
This div border color is #4C8513.
.myOpacity80 { color: #4C8513; opacity: 0.8; }
<p style="color:#4C8513;opacity:0.8;">80%</p>
Text with #4C8513 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C8513;}
<p style="text-shadow: 3px 3px 1px #4C8513">Text here.</p>
This text has shadow with #4C8513 color.
.textShadow {text-shadow: 3px 3px 1px #4C8513, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C8513, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C8513 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C8513, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C8513, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C8513 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C8513; -webkit-box-shadow: 1px 1px 3px 2px #4C8513; box-shadow: 1px 1px 3px 2px #4C8513; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C8513; -webkit-box-shadow: 1px 1px 3px 2px #4C8513; box-shadow:1px 1px 3px 2px #4C8513;">
Div content here</div>
This text has color #4C8513 on black background.
This text has color #4C8513 on white background.
This text has black color on #4C8513 background.
This text has white color on #4C8513 background.