HEX: #F2E9AC
RGB: (242,233,172)
#F2E9AC contains mainly red and green colors. Web safe color of #F2E9AC is #FFFF99 (or #FF9).
#F2E9AC color RGB value is (242,233,172).
RGB: (242,233,172) (95%,91%,67%)
R 242 of 255 = 95%
G 233 of 255 = 91%
B 172 of 255 = 67%
R + G + B ~ 84%. #F2E9AC is quite light color.
R + G + B =
242 + 233 + 172 = 647 (100%)
R 242 of 647 ~ 37.4%
G 233 of 647 ~ 36.01%
B 172 of 647 ~ 26.58%
#F2E9AC color CMYK value is (0,4,29,5).
CMYK: (0,4,29,5) C0M4Y29K5 (0%,4%,29%,5%) (0.00/0.04/0.29/0.05)
F2 | E9 | AC | |
---|---|---|---|
RGB | 242 | 233 | 172 |
HSL | 52° | 72.92% | 81.18% |
HSB/HSV | 52° | 28.93% | 94.90% |
CMYK | 0.00% | 3.72% | 28.93% |
5.10% |
HEX | F2 | E9 | AC |
Decimal | 242 | 233 | 172 |
Binary | 11110010 | 11101001 | 10101100 |
Octal | 362 | 351 | 254 |
Examples of css and html codes for elements with #F2E9AC color. Also use rgb(242,233,172) instead hex code.
.myTextColor { color: #F2E9AC; }
<p style="color:#F2E9AC">This sample text font color is #F2E9AC.</p>
This text font color is #F2E9AC.
.myBgColor { background-color: #F2E9AC; }
<div style="background-color:#F2E9AC">Inner text</div>
This div background color is #F2E9AC.
.myBorderColor { border: 1px solid #F2E9AC; }
<div style="border:3px solid #F2E9AC">Div</div>
This div border color is #F2E9AC.
.myOpacity80 { color: #F2E9AC; opacity: 0.8; }
<p style="color:#F2E9AC;opacity:0.8;">80%</p>
Text with #F2E9AC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2E9AC;}
<p style="text-shadow: 3px 3px 1px #F2E9AC">Text here.</p>
This text has shadow with #F2E9AC color.
.textShadow {text-shadow: 3px 3px 1px #F2E9AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2E9AC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2E9AC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2E9AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2E9AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2E9AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2E9AC; -webkit-box-shadow: 1px 1px 3px 2px #F2E9AC; box-shadow: 1px 1px 3px 2px #F2E9AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2E9AC; -webkit-box-shadow: 1px 1px 3px 2px #F2E9AC; box-shadow:1px 1px 3px 2px #F2E9AC;">
Div content here</div>
This text has color #F2E9AC on black background.
This text has color #F2E9AC on white background.
This text has black color on #F2E9AC background.
This text has white color on #F2E9AC background.