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