HEX: #F2E1CC
RGB: (242,225,204)
#F2E1CC contains red, green and blue colors in about the same proportion. Web safe color of #F2E1CC is #FFCCCC (or #FCC).
#F2E1CC color RGB value is (242,225,204).
RGB: (242,225,204) (95%,88%,80%)
R 242 of 255 = 95%
G 225 of 255 = 88%
B 204 of 255 = 80%
R + G + B ~ 88%. #F2E1CC is light color.
R + G + B =
242 + 225 + 204 = 671 (100%)
R 242 of 671 ~ 36.07%
G 225 of 671 ~ 33.53%
B 204 of 671 ~ 30.4%
#F2E1CC color CMYK value is (0,7,16,5).
CMYK: (0,7,16,5) C0M7Y16K5 (0%,7%,16%,5%) (0.00/0.07/0.16/0.05)
F2 | E1 | CC | |
---|---|---|---|
RGB | 242 | 225 | 204 |
HSL | 33° | 59.38% | 87.45% |
HSB/HSV | 33° | 15.70% | 94.90% |
CMYK | 0.00% | 7.02% | 15.70% |
5.10% |
HEX | F2 | E1 | CC |
Decimal | 242 | 225 | 204 |
Binary | 11110010 | 11100001 | 11001100 |
Octal | 362 | 341 | 314 |
Examples of css and html codes for elements with #F2E1CC color. Also use rgb(242,225,204) instead hex code.
.myTextColor { color: #F2E1CC; }
<p style="color:#F2E1CC">This sample text font color is #F2E1CC.</p>
This text font color is #F2E1CC.
.myBgColor { background-color: #F2E1CC; }
<div style="background-color:#F2E1CC">Inner text</div>
This div background color is #F2E1CC.
.myBorderColor { border: 1px solid #F2E1CC; }
<div style="border:3px solid #F2E1CC">Div</div>
This div border color is #F2E1CC.
.myOpacity80 { color: #F2E1CC; opacity: 0.8; }
<p style="color:#F2E1CC;opacity:0.8;">80%</p>
Text with #F2E1CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2E1CC;}
<p style="text-shadow: 3px 3px 1px #F2E1CC">Text here.</p>
This text has shadow with #F2E1CC color.
.textShadow {text-shadow: 3px 3px 1px #F2E1CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2E1CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2E1CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2E1CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2E1CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2E1CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2E1CC; -webkit-box-shadow: 1px 1px 3px 2px #F2E1CC; box-shadow: 1px 1px 3px 2px #F2E1CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2E1CC; -webkit-box-shadow: 1px 1px 3px 2px #F2E1CC; box-shadow:1px 1px 3px 2px #F2E1CC;">
Div content here</div>
This text has color #F2E1CC on black background.
This text has color #F2E1CC on white background.
This text has black color on #F2E1CC background.
This text has white color on #F2E1CC background.