HEX: #F0D2AB
RGB: (240,210,171)
#F0D2AB contains mainly red and green colors. Web safe color of #F0D2AB is #FFCC99 (or #FC9).
#F0D2AB color RGB value is (240,210,171).
RGB: (240,210,171) (94%,82%,67%)
R 240 of 255 = 94%
G 210 of 255 = 82%
B 171 of 255 = 67%
R + G + B ~ 81%. #F0D2AB is quite light color.
R + G + B =
240 + 210 + 171 = 621 (100%)
R 240 of 621 ~ 38.65%
G 210 of 621 ~ 33.82%
B 171 of 621 ~ 27.54%
#F0D2AB color CMYK value is (0,13,29,6).
CMYK: (0,13,29,6) C0M13Y29K6 (0%,13%,29%,6%) (0.00/0.13/0.29/0.06)
F0 | D2 | AB | |
---|---|---|---|
RGB | 240 | 210 | 171 |
HSL | 34° | 69.70% | 80.59% |
HSB/HSV | 34° | 28.75% | 94.12% |
CMYK | 0.00% | 12.50% | 28.75% |
5.88% |
HEX | F0 | D2 | AB |
Decimal | 240 | 210 | 171 |
Binary | 11110000 | 11010010 | 10101011 |
Octal | 360 | 322 | 253 |
Examples of css and html codes for elements with #F0D2AB color. Also use rgb(240,210,171) instead hex code.
.myTextColor { color: #F0D2AB; }
<p style="color:#F0D2AB">This sample text font color is #F0D2AB.</p>
This text font color is #F0D2AB.
.myBgColor { background-color: #F0D2AB; }
<div style="background-color:#F0D2AB">Inner text</div>
This div background color is #F0D2AB.
.myBorderColor { border: 1px solid #F0D2AB; }
<div style="border:3px solid #F0D2AB">Div</div>
This div border color is #F0D2AB.
.myOpacity80 { color: #F0D2AB; opacity: 0.8; }
<p style="color:#F0D2AB;opacity:0.8;">80%</p>
Text with #F0D2AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0D2AB;}
<p style="text-shadow: 3px 3px 1px #F0D2AB">Text here.</p>
This text has shadow with #F0D2AB color.
.textShadow {text-shadow: 3px 3px 1px #F0D2AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0D2AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0D2AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0D2AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0D2AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0D2AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0D2AB; -webkit-box-shadow: 1px 1px 3px 2px #F0D2AB; box-shadow: 1px 1px 3px 2px #F0D2AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0D2AB; -webkit-box-shadow: 1px 1px 3px 2px #F0D2AB; box-shadow:1px 1px 3px 2px #F0D2AB;">
Div content here</div>
This text has color #F0D2AB on black background.
This text has color #F0D2AB on white background.
This text has black color on #F0D2AB background.
This text has white color on #F0D2AB background.