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