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