HEX: #F2D8AB
RGB: (242,216,171)
#F2D8AB contains mainly red and green colors. Web safe color of #F2D8AB is #FFCC99 (or #FC9).
#F2D8AB color RGB value is (242,216,171).
RGB: (242,216,171) (95%,85%,67%)
R 242 of 255 = 95%
G 216 of 255 = 85%
B 171 of 255 = 67%
R + G + B ~ 82%. #F2D8AB is quite light color.
R + G + B =
242 + 216 + 171 = 629 (100%)
R 242 of 629 ~ 38.47%
G 216 of 629 ~ 34.34%
B 171 of 629 ~ 27.19%
#F2D8AB color CMYK value is (0,11,29,5).
CMYK: (0,11,29,5) C0M11Y29K5 (0%,11%,29%,5%) (0.00/0.11/0.29/0.05)
F2 | D8 | AB | |
---|---|---|---|
RGB | 242 | 216 | 171 |
HSL | 38° | 73.20% | 80.98% |
HSB/HSV | 38° | 29.34% | 94.90% |
CMYK | 0.00% | 10.74% | 29.34% |
5.10% |
HEX | F2 | D8 | AB |
Decimal | 242 | 216 | 171 |
Binary | 11110010 | 11011000 | 10101011 |
Octal | 362 | 330 | 253 |
Examples of css and html codes for elements with #F2D8AB color. Also use rgb(242,216,171) instead hex code.
.myTextColor { color: #F2D8AB; }
<p style="color:#F2D8AB">This sample text font color is #F2D8AB.</p>
This text font color is #F2D8AB.
.myBgColor { background-color: #F2D8AB; }
<div style="background-color:#F2D8AB">Inner text</div>
This div background color is #F2D8AB.
.myBorderColor { border: 1px solid #F2D8AB; }
<div style="border:3px solid #F2D8AB">Div</div>
This div border color is #F2D8AB.
.myOpacity80 { color: #F2D8AB; opacity: 0.8; }
<p style="color:#F2D8AB;opacity:0.8;">80%</p>
Text with #F2D8AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D8AB;}
<p style="text-shadow: 3px 3px 1px #F2D8AB">Text here.</p>
This text has shadow with #F2D8AB color.
.textShadow {text-shadow: 3px 3px 1px #F2D8AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D8AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D8AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D8AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D8AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D8AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D8AB; -webkit-box-shadow: 1px 1px 3px 2px #F2D8AB; box-shadow: 1px 1px 3px 2px #F2D8AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D8AB; -webkit-box-shadow: 1px 1px 3px 2px #F2D8AB; box-shadow:1px 1px 3px 2px #F2D8AB;">
Div content here</div>
This text has color #F2D8AB on black background.
This text has color #F2D8AB on white background.
This text has black color on #F2D8AB background.
This text has white color on #F2D8AB background.