HEX: #F9A6FF
RGB: (249,166,255)
#F9A6FF contains mainly red and blue colors. Web safe color of #F9A6FF is #FF99FF (or #F9F).
#F9A6FF color RGB value is (249,166,255).
RGB: (249,166,255) (98%,65%,100%)
R 249 of 255 = 98%
G 166 of 255 = 65%
B 255 of 255 = 100%
R + G + B ~ 88%. #F9A6FF is light color.
R + G + B =
249 + 166 + 255 = 670 (100%)
R 249 of 670 ~ 37.16%
G 166 of 670 ~ 24.78%
B 255 of 670 ~ 38.06%
#F9A6FF color CMYK value is (2,35,0,0).
CMYK: (2,35,0,0) C2M35Y0K0 (2%,35%,0%,0%) (0.02/0.35/0.00/0.00)
F9 | A6 | FF | |
---|---|---|---|
RGB | 249 | 166 | 255 |
HSL | 296° | 100.00% | 82.55% |
HSB/HSV | 296° | 34.90% | 100.00% |
CMYK | 2.35% | 34.90% | 0.00% |
0.00% |
HEX | F9 | A6 | FF |
Decimal | 249 | 166 | 255 |
Binary | 11111001 | 10100110 | 11111111 |
Octal | 371 | 246 | 377 |
Examples of css and html codes for elements with #F9A6FF color. Also use rgb(249,166,255) instead hex code.
.myTextColor { color: #F9A6FF; }
<p style="color:#F9A6FF">This sample text font color is #F9A6FF.</p>
This text font color is #F9A6FF.
.myBgColor { background-color: #F9A6FF; }
<div style="background-color:#F9A6FF">Inner text</div>
This div background color is #F9A6FF.
.myBorderColor { border: 1px solid #F9A6FF; }
<div style="border:3px solid #F9A6FF">Div</div>
This div border color is #F9A6FF.
.myOpacity80 { color: #F9A6FF; opacity: 0.8; }
<p style="color:#F9A6FF;opacity:0.8;">80%</p>
Text with #F9A6FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F9A6FF;}
<p style="text-shadow: 3px 3px 1px #F9A6FF">Text here.</p>
This text has shadow with #F9A6FF color.
.textShadow {text-shadow: 3px 3px 1px #F9A6FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F9A6FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #F9A6FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F9A6FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F9A6FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #F9A6FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F9A6FF; -webkit-box-shadow: 1px 1px 3px 2px #F9A6FF; box-shadow: 1px 1px 3px 2px #F9A6FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F9A6FF; -webkit-box-shadow: 1px 1px 3px 2px #F9A6FF; box-shadow:1px 1px 3px 2px #F9A6FF;">
Div content here</div>
This text has color #F9A6FF on black background.
This text has color #F9A6FF on white background.
This text has black color on #F9A6FF background.
This text has white color on #F9A6FF background.