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