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