HEX: #F6F2AD
RGB: (246,242,173)
#F6F2AD contains mainly red and green colors. Web safe color of #F6F2AD is #FFFF99 (or #FF9).
#F6F2AD color RGB value is (246,242,173).
RGB: (246,242,173) (96%,95%,68%)
R 246 of 255 = 96%
G 242 of 255 = 95%
B 173 of 255 = 68%
R + G + B ~ 86%. #F6F2AD is light color.
R + G + B =
246 + 242 + 173 = 661 (100%)
R 246 of 661 ~ 37.22%
G 242 of 661 ~ 36.61%
B 173 of 661 ~ 26.17%
#F6F2AD color CMYK value is (0,2,30,4).
CMYK: (0,2,30,4) C0M2Y30K4 (0%,2%,30%,4%) (0.00/0.02/0.30/0.04)
F6 | F2 | AD | |
---|---|---|---|
RGB | 246 | 242 | 173 |
HSL | 57° | 80.22% | 82.16% |
HSB/HSV | 57° | 29.67% | 96.47% |
CMYK | 0.00% | 1.63% | 29.67% |
3.53% |
HEX | F6 | F2 | AD |
Decimal | 246 | 242 | 173 |
Binary | 11110110 | 11110010 | 10101101 |
Octal | 366 | 362 | 255 |
Examples of css and html codes for elements with #F6F2AD color. Also use rgb(246,242,173) instead hex code.
.myTextColor { color: #F6F2AD; }
<p style="color:#F6F2AD">This sample text font color is #F6F2AD.</p>
This text font color is #F6F2AD.
.myBgColor { background-color: #F6F2AD; }
<div style="background-color:#F6F2AD">Inner text</div>
This div background color is #F6F2AD.
.myBorderColor { border: 1px solid #F6F2AD; }
<div style="border:3px solid #F6F2AD">Div</div>
This div border color is #F6F2AD.
.myOpacity80 { color: #F6F2AD; opacity: 0.8; }
<p style="color:#F6F2AD;opacity:0.8;">80%</p>
Text with #F6F2AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6F2AD;}
<p style="text-shadow: 3px 3px 1px #F6F2AD">Text here.</p>
This text has shadow with #F6F2AD color.
.textShadow {text-shadow: 3px 3px 1px #F6F2AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6F2AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6F2AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6F2AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6F2AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6F2AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6F2AD; -webkit-box-shadow: 1px 1px 3px 2px #F6F2AD; box-shadow: 1px 1px 3px 2px #F6F2AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6F2AD; -webkit-box-shadow: 1px 1px 3px 2px #F6F2AD; box-shadow:1px 1px 3px 2px #F6F2AD;">
Div content here</div>
This text has color #F6F2AD on black background.
This text has color #F6F2AD on white background.
This text has black color on #F6F2AD background.
This text has white color on #F6F2AD background.