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