HEX: #F0A8DD
RGB: (240,168,221)
#F0A8DD contains mainly red and blue colors. Web safe color of #F0A8DD is #FF99CC (or #F9C).
#F0A8DD color RGB value is (240,168,221).
RGB: (240,168,221) (94%,66%,87%)
R 240 of 255 = 94%
G 168 of 255 = 66%
B 221 of 255 = 87%
R + G + B ~ 82%. #F0A8DD is quite light color.
R + G + B =
240 + 168 + 221 = 629 (100%)
R 240 of 629 ~ 38.16%
G 168 of 629 ~ 26.71%
B 221 of 629 ~ 35.14%
#F0A8DD color CMYK value is (0,30,8,6).
CMYK: (0,30,8,6) C0M30Y8K6 (0%,30%,8%,6%) (0.00/0.30/0.08/0.06)
F0 | A8 | DD | |
---|---|---|---|
RGB | 240 | 168 | 221 |
HSL | 316° | 70.59% | 80.00% |
HSB/HSV | 316° | 30.00% | 94.12% |
CMYK | 0.00% | 30.00% | 7.92% |
5.88% |
HEX | F0 | A8 | DD |
Decimal | 240 | 168 | 221 |
Binary | 11110000 | 10101000 | 11011101 |
Octal | 360 | 250 | 335 |
Examples of css and html codes for elements with #F0A8DD color. Also use rgb(240,168,221) instead hex code.
.myTextColor { color: #F0A8DD; }
<p style="color:#F0A8DD">This sample text font color is #F0A8DD.</p>
This text font color is #F0A8DD.
.myBgColor { background-color: #F0A8DD; }
<div style="background-color:#F0A8DD">Inner text</div>
This div background color is #F0A8DD.
.myBorderColor { border: 1px solid #F0A8DD; }
<div style="border:3px solid #F0A8DD">Div</div>
This div border color is #F0A8DD.
.myOpacity80 { color: #F0A8DD; opacity: 0.8; }
<p style="color:#F0A8DD;opacity:0.8;">80%</p>
Text with #F0A8DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0A8DD;}
<p style="text-shadow: 3px 3px 1px #F0A8DD">Text here.</p>
This text has shadow with #F0A8DD color.
.textShadow {text-shadow: 3px 3px 1px #F0A8DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0A8DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0A8DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0A8DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0A8DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0A8DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0A8DD; -webkit-box-shadow: 1px 1px 3px 2px #F0A8DD; box-shadow: 1px 1px 3px 2px #F0A8DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0A8DD; -webkit-box-shadow: 1px 1px 3px 2px #F0A8DD; box-shadow:1px 1px 3px 2px #F0A8DD;">
Div content here</div>
This text has color #F0A8DD on black background.
This text has color #F0A8DD on white background.
This text has black color on #F0A8DD background.
This text has white color on #F0A8DD background.