HEX: #F8AFE6
RGB: (248,175,230)
#F8AFE6 contains mainly red and blue colors. Web safe color of #F8AFE6 is #FF99CC (or #F9C).
#F8AFE6 color RGB value is (248,175,230).
RGB: (248,175,230) (97%,69%,90%)
R 248 of 255 = 97%
G 175 of 255 = 69%
B 230 of 255 = 90%
R + G + B ~ 85%. #F8AFE6 is quite light color.
R + G + B =
248 + 175 + 230 = 653 (100%)
R 248 of 653 ~ 37.98%
G 175 of 653 ~ 26.8%
B 230 of 653 ~ 35.22%
#F8AFE6 color CMYK value is (0,29,7,3).
CMYK: (0,29,7,3) C0M29Y7K3 (0%,29%,7%,3%) (0.00/0.29/0.07/0.03)
F8 | AF | E6 | |
---|---|---|---|
RGB | 248 | 175 | 230 |
HSL | 315° | 83.91% | 82.94% |
HSB/HSV | 315° | 29.44% | 97.25% |
CMYK | 0.00% | 29.44% | 7.26% |
2.75% |
HEX | F8 | AF | E6 |
Decimal | 248 | 175 | 230 |
Binary | 11111000 | 10101111 | 11100110 |
Octal | 370 | 257 | 346 |
Examples of css and html codes for elements with #F8AFE6 color. Also use rgb(248,175,230) instead hex code.
.myTextColor { color: #F8AFE6; }
<p style="color:#F8AFE6">This sample text font color is #F8AFE6.</p>
This text font color is #F8AFE6.
.myBgColor { background-color: #F8AFE6; }
<div style="background-color:#F8AFE6">Inner text</div>
This div background color is #F8AFE6.
.myBorderColor { border: 1px solid #F8AFE6; }
<div style="border:3px solid #F8AFE6">Div</div>
This div border color is #F8AFE6.
.myOpacity80 { color: #F8AFE6; opacity: 0.8; }
<p style="color:#F8AFE6;opacity:0.8;">80%</p>
Text with #F8AFE6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8AFE6;}
<p style="text-shadow: 3px 3px 1px #F8AFE6">Text here.</p>
This text has shadow with #F8AFE6 color.
.textShadow {text-shadow: 3px 3px 1px #F8AFE6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8AFE6, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8AFE6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8AFE6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8AFE6, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8AFE6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8AFE6; -webkit-box-shadow: 1px 1px 3px 2px #F8AFE6; box-shadow: 1px 1px 3px 2px #F8AFE6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8AFE6; -webkit-box-shadow: 1px 1px 3px 2px #F8AFE6; box-shadow:1px 1px 3px 2px #F8AFE6;">
Div content here</div>
This text has color #F8AFE6 on black background.
This text has color #F8AFE6 on white background.
This text has black color on #F8AFE6 background.
This text has white color on #F8AFE6 background.