HEX: #00CC00
RGB: (0,204,0)
#00CC00 contains only green color. #00CC00 color is web safe color. It maybe written shortly as #0C0.
#00CC00 color RGB value is (0,204,0).
RGB: (0,204,0) (0%,80%,0%)
R 0 of 255 = 0%
G 204 of 255 = 80%
B 0 of 255 = 0%
R + G + B ~ 27%. #00CC00 is quite dark color.
R + G + B =
0 + 204 + 0 = 204 (100%)
R 0 of 204 ~ 0%
G 204 of 204 ~ 100%
B 0 of 204 ~ 0%
#00CC00 color CMYK value is (100,0,100,20).
CMYK: (100,0,100,20) C100M0Y100K20 (100%,0%,100%,20%) (1.00/0.00/1.00/0.20)
00 | CC | 00 | |
---|---|---|---|
RGB | 0 | 204 | 0 |
HSL | 120° | 100.00% | 40.00% |
HSB/HSV | 120° | 100.00% | 80.00% |
CMYK | 100.00% | 0.00% | 100.00% |
20.00% |
HEX | 00 | CC | 00 |
Decimal | 0 | 204 | 0 |
Binary | 0 | 11001100 | 0 |
Octal | 0 | 314 | 0 |
Examples of css and html codes for elements with #00CC00 color. Also use rgb(0,204,0) instead hex code.
.myTextColor { color: #00CC00; }
<p style="color:#00CC00">This sample text font color is #00CC00.</p>
This text font color is #00CC00.
.myBgColor { background-color: #00CC00; }
<div style="background-color:#00CC00">Inner text</div>
This div background color is #00CC00.
.myBorderColor { border: 1px solid #00CC00; }
<div style="border:3px solid #00CC00">Div</div>
This div border color is #00CC00.
.myOpacity80 { color: #00CC00; opacity: 0.8; }
<p style="color:#00CC00;opacity:0.8;">80%</p>
Text with #00CC00 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #00CC00;}
<p style="text-shadow: 3px 3px 1px #00CC00">Text here.</p>
This text has shadow with #00CC00 color.
.textShadow {text-shadow: 3px 3px 1px #00CC00, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #00CC00, 5px 5px 20px red">Text here.</p>
This text has shadow with #00CC00 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#00CC00, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#00CC00, Direction=45, Strength=4)">Text</p>
This text has shadow with #00CC00 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #00CC00; -webkit-box-shadow: 1px 1px 3px 2px #00CC00; box-shadow: 1px 1px 3px 2px #00CC00; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #00CC00; -webkit-box-shadow: 1px 1px 3px 2px #00CC00; box-shadow:1px 1px 3px 2px #00CC00;">
Div content here</div>
This text has color #00CC00 on black background.
This text has color #00CC00 on white background.
This text has black color on #00CC00 background.
This text has white color on #00CC00 background.