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