HEX: #F0AFD2
RGB: (240,175,210)
#F0AFD2 contains mainly red and blue colors. Web safe color of #F0AFD2 is #FF99CC (or #F9C).
#F0AFD2 color RGB value is (240,175,210).
RGB: (240,175,210) (94%,69%,82%)
R 240 of 255 = 94%
G 175 of 255 = 69%
B 210 of 255 = 82%
R + G + B ~ 82%. #F0AFD2 is quite light color.
R + G + B =
240 + 175 + 210 = 625 (100%)
R 240 of 625 ~ 38.4%
G 175 of 625 ~ 28%
B 210 of 625 ~ 33.6%
#F0AFD2 color CMYK value is (0,27,13,6).
CMYK: (0,27,13,6) C0M27Y13K6 (0%,27%,13%,6%) (0.00/0.27/0.13/0.06)
F0 | AF | D2 | |
---|---|---|---|
RGB | 240 | 175 | 210 |
HSL | 328° | 68.42% | 81.37% |
HSB/HSV | 328° | 27.08% | 94.12% |
CMYK | 0.00% | 27.08% | 12.50% |
5.88% |
HEX | F0 | AF | D2 |
Decimal | 240 | 175 | 210 |
Binary | 11110000 | 10101111 | 11010010 |
Octal | 360 | 257 | 322 |
Examples of css and html codes for elements with #F0AFD2 color. Also use rgb(240,175,210) instead hex code.
.myTextColor { color: #F0AFD2; }
<p style="color:#F0AFD2">This sample text font color is #F0AFD2.</p>
This text font color is #F0AFD2.
.myBgColor { background-color: #F0AFD2; }
<div style="background-color:#F0AFD2">Inner text</div>
This div background color is #F0AFD2.
.myBorderColor { border: 1px solid #F0AFD2; }
<div style="border:3px solid #F0AFD2">Div</div>
This div border color is #F0AFD2.
.myOpacity80 { color: #F0AFD2; opacity: 0.8; }
<p style="color:#F0AFD2;opacity:0.8;">80%</p>
Text with #F0AFD2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0AFD2;}
<p style="text-shadow: 3px 3px 1px #F0AFD2">Text here.</p>
This text has shadow with #F0AFD2 color.
.textShadow {text-shadow: 3px 3px 1px #F0AFD2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0AFD2, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0AFD2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0AFD2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0AFD2, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0AFD2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0AFD2; -webkit-box-shadow: 1px 1px 3px 2px #F0AFD2; box-shadow: 1px 1px 3px 2px #F0AFD2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0AFD2; -webkit-box-shadow: 1px 1px 3px 2px #F0AFD2; box-shadow:1px 1px 3px 2px #F0AFD2;">
Div content here</div>
This text has color #F0AFD2 on black background.
This text has color #F0AFD2 on white background.
This text has black color on #F0AFD2 background.
This text has white color on #F0AFD2 background.