HEX: #025012
RGB: (2,80,18)
#025012 contains mainly green color. Web safe color of #025012 is #006600 (or #060).
#025012 color RGB value is (2,80,18).
RGB: (2,80,18) (1%,31%,7%)
R 2 of 255 = 1%
G 80 of 255 = 31%
B 18 of 255 = 7%
R + G + B ~ 13%. #025012 is dark color.
R + G + B =
2 + 80 + 18 = 100 (100%)
R 2 of 100 ~ 2%
G 80 of 100 ~ 80%
B 18 of 100 ~ 18%
#025012 color CMYK value is (98,0,78,69).
CMYK: (98,0,78,69) C98M0Y78K69 (98%,0%,78%,69%) (0.98/0.00/0.78/0.69)
02 | 50 | 12 | |
---|---|---|---|
RGB | 2 | 80 | 18 |
HSL | 132° | 95.12% | 16.08% |
HSB/HSV | 132° | 97.50% | 31.37% |
CMYK | 97.50% | 0.00% | 77.50% |
68.63% |
HEX | 02 | 50 | 12 |
Decimal | 2 | 80 | 18 |
Binary | 10 | 1010000 | 10010 |
Octal | 2 | 120 | 22 |
Examples of css and html codes for elements with #025012 color. Also use rgb(2,80,18) instead hex code.
.myTextColor { color: #025012; }
<p style="color:#025012">This sample text font color is #025012.</p>
This text font color is #025012.
.myBgColor { background-color: #025012; }
<div style="background-color:#025012">Inner text</div>
This div background color is #025012.
.myBorderColor { border: 1px solid #025012; }
<div style="border:3px solid #025012">Div</div>
This div border color is #025012.
.myOpacity80 { color: #025012; opacity: 0.8; }
<p style="color:#025012;opacity:0.8;">80%</p>
Text with #025012 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #025012;}
<p style="text-shadow: 3px 3px 1px #025012">Text here.</p>
This text has shadow with #025012 color.
.textShadow {text-shadow: 3px 3px 1px #025012, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #025012, 5px 5px 20px red">Text here.</p>
This text has shadow with #025012 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#025012, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#025012, Direction=45, Strength=4)">Text</p>
This text has shadow with #025012 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #025012; -webkit-box-shadow: 1px 1px 3px 2px #025012; box-shadow: 1px 1px 3px 2px #025012; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #025012; -webkit-box-shadow: 1px 1px 3px 2px #025012; box-shadow:1px 1px 3px 2px #025012;">
Div content here</div>
This text has color #025012 on black background.
This text has color #025012 on white background.
This text has black color on #025012 background.
This text has white color on #025012 background.