HEX: #4A520F
RGB: (74,82,15)
#4A520F contains mainly red and green colors. Web safe color of #4A520F is #336600 (or #360).
#4A520F color RGB value is (74,82,15).
RGB: (74,82,15) (29%,32%,6%)
R 74 of 255 = 29%
G 82 of 255 = 32%
B 15 of 255 = 6%
R + G + B ~ 22%. #4A520F is dark color.
R + G + B =
74 + 82 + 15 = 171 (100%)
R 74 of 171 ~ 43.27%
G 82 of 171 ~ 47.95%
B 15 of 171 ~ 8.77%
#4A520F color CMYK value is (10,0,82,68).
CMYK: (10,0,82,68) C10M0Y82K68 (10%,0%,82%,68%) (0.10/0.00/0.82/0.68)
4A | 52 | 0F | |
---|---|---|---|
RGB | 74 | 82 | 15 |
HSL | 67° | 69.07% | 19.02% |
HSB/HSV | 67° | 81.71% | 32.16% |
CMYK | 9.76% | 0.00% | 81.71% |
67.84% |
HEX | 4A | 52 | 0F |
Decimal | 74 | 82 | 15 |
Binary | 1001010 | 1010010 | 1111 |
Octal | 112 | 122 | 17 |
Examples of css and html codes for elements with #4A520F color. Also use rgb(74,82,15) instead hex code.
.myTextColor { color: #4A520F; }
<p style="color:#4A520F">This sample text font color is #4A520F.</p>
This text font color is #4A520F.
.myBgColor { background-color: #4A520F; }
<div style="background-color:#4A520F">Inner text</div>
This div background color is #4A520F.
.myBorderColor { border: 1px solid #4A520F; }
<div style="border:3px solid #4A520F">Div</div>
This div border color is #4A520F.
.myOpacity80 { color: #4A520F; opacity: 0.8; }
<p style="color:#4A520F;opacity:0.8;">80%</p>
Text with #4A520F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A520F;}
<p style="text-shadow: 3px 3px 1px #4A520F">Text here.</p>
This text has shadow with #4A520F color.
.textShadow {text-shadow: 3px 3px 1px #4A520F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A520F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A520F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A520F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A520F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A520F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A520F; -webkit-box-shadow: 1px 1px 3px 2px #4A520F; box-shadow: 1px 1px 3px 2px #4A520F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A520F; -webkit-box-shadow: 1px 1px 3px 2px #4A520F; box-shadow:1px 1px 3px 2px #4A520F;">
Div content here</div>
This text has color #4A520F on black background.
This text has color #4A520F on white background.
This text has black color on #4A520F background.
This text has white color on #4A520F background.