HEX: #054C02
RGB: (5,76,2)
#054C02 contains mainly green color. Web safe color of #054C02 is #003300 (or #030).
#054C02 color RGB value is (5,76,2).
RGB: (5,76,2) (2%,30%,1%)
R 5 of 255 = 2%
G 76 of 255 = 30%
B 2 of 255 = 1%
R + G + B ~ 11%. #054C02 is dark color.
R + G + B =
5 + 76 + 2 = 83 (100%)
R 5 of 83 ~ 6.02%
G 76 of 83 ~ 91.57%
B 2 of 83 ~ 2.41%
#054C02 color CMYK value is (93,0,97,70).
CMYK: (93,0,97,70) C93M0Y97K70 (93%,0%,97%,70%) (0.93/0.00/0.97/0.70)
05 | 4C | 02 | |
---|---|---|---|
RGB | 5 | 76 | 2 |
HSL | 118° | 94.87% | 15.29% |
HSB/HSV | 118° | 97.37% | 29.80% |
CMYK | 93.42% | 0.00% | 97.37% |
70.20% |
HEX | 05 | 4C | 02 |
Decimal | 5 | 76 | 2 |
Binary | 101 | 1001100 | 10 |
Octal | 5 | 114 | 2 |
Examples of css and html codes for elements with #054C02 color. Also use rgb(5,76,2) instead hex code.
.myTextColor { color: #054C02; }
<p style="color:#054C02">This sample text font color is #054C02.</p>
This text font color is #054C02.
.myBgColor { background-color: #054C02; }
<div style="background-color:#054C02">Inner text</div>
This div background color is #054C02.
.myBorderColor { border: 1px solid #054C02; }
<div style="border:3px solid #054C02">Div</div>
This div border color is #054C02.
.myOpacity80 { color: #054C02; opacity: 0.8; }
<p style="color:#054C02;opacity:0.8;">80%</p>
Text with #054C02 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #054C02;}
<p style="text-shadow: 3px 3px 1px #054C02">Text here.</p>
This text has shadow with #054C02 color.
.textShadow {text-shadow: 3px 3px 1px #054C02, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #054C02, 5px 5px 20px red">Text here.</p>
This text has shadow with #054C02 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#054C02, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#054C02, Direction=45, Strength=4)">Text</p>
This text has shadow with #054C02 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #054C02; -webkit-box-shadow: 1px 1px 3px 2px #054C02; box-shadow: 1px 1px 3px 2px #054C02; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #054C02; -webkit-box-shadow: 1px 1px 3px 2px #054C02; box-shadow:1px 1px 3px 2px #054C02;">
Div content here</div>
This text has color #054C02 on black background.
This text has color #054C02 on white background.
This text has black color on #054C02 background.
This text has white color on #054C02 background.