HEX: #185020
RGB: (24,80,32)
#185020 contains red, green and blue colors in about the same proportion. Web safe color of #185020 is #006633 (or #063).
#185020 color RGB value is (24,80,32).
RGB: (24,80,32) (9%,31%,13%)
R 24 of 255 = 9%
G 80 of 255 = 31%
B 32 of 255 = 13%
R + G + B ~ 18%. #185020 is dark color.
R + G + B =
24 + 80 + 32 = 136 (100%)
R 24 of 136 ~ 17.65%
G 80 of 136 ~ 58.82%
B 32 of 136 ~ 23.53%
#185020 color CMYK value is (70,0,60,69).
CMYK: (70,0,60,69) C70M0Y60K69 (70%,0%,60%,69%) (0.70/0.00/0.60/0.69)
18 | 50 | 20 | |
---|---|---|---|
RGB | 24 | 80 | 32 |
HSL | 129° | 53.85% | 20.39% |
HSB/HSV | 129° | 70.00% | 31.37% |
CMYK | 70.00% | 0.00% | 60.00% |
68.63% |
HEX | 18 | 50 | 20 |
Decimal | 24 | 80 | 32 |
Binary | 11000 | 1010000 | 100000 |
Octal | 30 | 120 | 40 |
Examples of css and html codes for elements with #185020 color. Also use rgb(24,80,32) instead hex code.
.myTextColor { color: #185020; }
<p style="color:#185020">This sample text font color is #185020.</p>
This text font color is #185020.
.myBgColor { background-color: #185020; }
<div style="background-color:#185020">Inner text</div>
This div background color is #185020.
.myBorderColor { border: 1px solid #185020; }
<div style="border:3px solid #185020">Div</div>
This div border color is #185020.
.myOpacity80 { color: #185020; opacity: 0.8; }
<p style="color:#185020;opacity:0.8;">80%</p>
Text with #185020 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #185020;}
<p style="text-shadow: 3px 3px 1px #185020">Text here.</p>
This text has shadow with #185020 color.
.textShadow {text-shadow: 3px 3px 1px #185020, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #185020, 5px 5px 20px red">Text here.</p>
This text has shadow with #185020 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#185020, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#185020, Direction=45, Strength=4)">Text</p>
This text has shadow with #185020 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #185020; -webkit-box-shadow: 1px 1px 3px 2px #185020; box-shadow: 1px 1px 3px 2px #185020; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #185020; -webkit-box-shadow: 1px 1px 3px 2px #185020; box-shadow:1px 1px 3px 2px #185020;">
Div content here</div>
This text has color #185020 on black background.
This text has color #185020 on white background.
This text has black color on #185020 background.
This text has white color on #185020 background.