HEX: #30520E
RGB: (48,82,14)
#30520E contains mainly red and green colors. Web safe color of #30520E is #336600 (or #360).
#30520E color RGB value is (48,82,14).
RGB: (48,82,14) (19%,32%,5%)
R 48 of 255 = 19%
G 82 of 255 = 32%
B 14 of 255 = 5%
R + G + B ~ 19%. #30520E is dark color.
R + G + B =
48 + 82 + 14 = 144 (100%)
R 48 of 144 ~ 33.33%
G 82 of 144 ~ 56.94%
B 14 of 144 ~ 9.72%
#30520E color CMYK value is (41,0,83,68).
CMYK: (41,0,83,68) C41M0Y83K68 (41%,0%,83%,68%) (0.41/0.00/0.83/0.68)
30 | 52 | 0E | |
---|---|---|---|
RGB | 48 | 82 | 14 |
HSL | 90° | 70.83% | 18.82% |
HSB/HSV | 90° | 82.93% | 32.16% |
CMYK | 41.46% | 0.00% | 82.93% |
67.84% |
HEX | 30 | 52 | 0E |
Decimal | 48 | 82 | 14 |
Binary | 110000 | 1010010 | 1110 |
Octal | 60 | 122 | 16 |
Examples of css and html codes for elements with #30520E color. Also use rgb(48,82,14) instead hex code.
.myTextColor { color: #30520E; }
<p style="color:#30520E">This sample text font color is #30520E.</p>
This text font color is #30520E.
.myBgColor { background-color: #30520E; }
<div style="background-color:#30520E">Inner text</div>
This div background color is #30520E.
.myBorderColor { border: 1px solid #30520E; }
<div style="border:3px solid #30520E">Div</div>
This div border color is #30520E.
.myOpacity80 { color: #30520E; opacity: 0.8; }
<p style="color:#30520E;opacity:0.8;">80%</p>
Text with #30520E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30520E;}
<p style="text-shadow: 3px 3px 1px #30520E">Text here.</p>
This text has shadow with #30520E color.
.textShadow {text-shadow: 3px 3px 1px #30520E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30520E, 5px 5px 20px red">Text here.</p>
This text has shadow with #30520E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30520E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30520E, Direction=45, Strength=4)">Text</p>
This text has shadow with #30520E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30520E; -webkit-box-shadow: 1px 1px 3px 2px #30520E; box-shadow: 1px 1px 3px 2px #30520E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30520E; -webkit-box-shadow: 1px 1px 3px 2px #30520E; box-shadow:1px 1px 3px 2px #30520E;">
Div content here</div>
This text has color #30520E on black background.
This text has color #30520E on white background.
This text has black color on #30520E background.
This text has white color on #30520E background.