HEX: #F6F6AC
RGB: (246,246,172)
#F6F6AC contains mainly red and green colors. Web safe color of #F6F6AC is #FFFF99 (or #FF9).
#F6F6AC color RGB value is (246,246,172).
RGB: (246,246,172) (96%,96%,67%)
R 246 of 255 = 96%
G 246 of 255 = 96%
B 172 of 255 = 67%
R + G + B ~ 86%. #F6F6AC is light color.
R + G + B =
246 + 246 + 172 = 664 (100%)
R 246 of 664 ~ 37.05%
G 246 of 664 ~ 37.05%
B 172 of 664 ~ 25.9%
#F6F6AC color CMYK value is (0,0,30,4).
CMYK: (0,0,30,4) C0M0Y30K4 (0%,0%,30%,4%) (0.00/0.00/0.30/0.04)
F6 | F6 | AC | |
---|---|---|---|
RGB | 246 | 246 | 172 |
HSL | 60° | 80.43% | 81.96% |
HSB/HSV | 60° | 30.08% | 96.47% |
CMYK | 0.00% | 0.00% | 30.08% |
3.53% |
HEX | F6 | F6 | AC |
Decimal | 246 | 246 | 172 |
Binary | 11110110 | 11110110 | 10101100 |
Octal | 366 | 366 | 254 |
Examples of css and html codes for elements with #F6F6AC color. Also use rgb(246,246,172) instead hex code.
.myTextColor { color: #F6F6AC; }
<p style="color:#F6F6AC">This sample text font color is #F6F6AC.</p>
This text font color is #F6F6AC.
.myBgColor { background-color: #F6F6AC; }
<div style="background-color:#F6F6AC">Inner text</div>
This div background color is #F6F6AC.
.myBorderColor { border: 1px solid #F6F6AC; }
<div style="border:3px solid #F6F6AC">Div</div>
This div border color is #F6F6AC.
.myOpacity80 { color: #F6F6AC; opacity: 0.8; }
<p style="color:#F6F6AC;opacity:0.8;">80%</p>
Text with #F6F6AC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6F6AC;}
<p style="text-shadow: 3px 3px 1px #F6F6AC">Text here.</p>
This text has shadow with #F6F6AC color.
.textShadow {text-shadow: 3px 3px 1px #F6F6AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6F6AC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6F6AC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6F6AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6F6AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6F6AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6F6AC; -webkit-box-shadow: 1px 1px 3px 2px #F6F6AC; box-shadow: 1px 1px 3px 2px #F6F6AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6F6AC; -webkit-box-shadow: 1px 1px 3px 2px #F6F6AC; box-shadow:1px 1px 3px 2px #F6F6AC;">
Div content here</div>
This text has color #F6F6AC on black background.
This text has color #F6F6AC on white background.
This text has black color on #F6F6AC background.
This text has white color on #F6F6AC background.