HEX: #F8A6AB
RGB: (248,166,171)
#F8A6AB contains mainly red color. Web safe color of #F8A6AB is #FF9999 (or #F99).
#F8A6AB color RGB value is (248,166,171).
RGB: (248,166,171) (97%,65%,67%)
R 248 of 255 = 97%
G 166 of 255 = 65%
B 171 of 255 = 67%
R + G + B ~ 76%. #F8A6AB is quite light color.
R + G + B =
248 + 166 + 171 = 585 (100%)
R 248 of 585 ~ 42.39%
G 166 of 585 ~ 28.38%
B 171 of 585 ~ 29.23%
#F8A6AB color CMYK value is (0,33,31,3).
CMYK: (0,33,31,3) C0M33Y31K3 (0%,33%,31%,3%) (0.00/0.33/0.31/0.03)
F8 | A6 | AB | |
---|---|---|---|
RGB | 248 | 166 | 171 |
HSL | 356° | 85.42% | 81.18% |
HSB/HSV | 356° | 33.06% | 97.25% |
CMYK | 0.00% | 33.06% | 31.05% |
2.75% |
HEX | F8 | A6 | AB |
Decimal | 248 | 166 | 171 |
Binary | 11111000 | 10100110 | 10101011 |
Octal | 370 | 246 | 253 |
Examples of css and html codes for elements with #F8A6AB color. Also use rgb(248,166,171) instead hex code.
.myTextColor { color: #F8A6AB; }
<p style="color:#F8A6AB">This sample text font color is #F8A6AB.</p>
This text font color is #F8A6AB.
.myBgColor { background-color: #F8A6AB; }
<div style="background-color:#F8A6AB">Inner text</div>
This div background color is #F8A6AB.
.myBorderColor { border: 1px solid #F8A6AB; }
<div style="border:3px solid #F8A6AB">Div</div>
This div border color is #F8A6AB.
.myOpacity80 { color: #F8A6AB; opacity: 0.8; }
<p style="color:#F8A6AB;opacity:0.8;">80%</p>
Text with #F8A6AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8A6AB;}
<p style="text-shadow: 3px 3px 1px #F8A6AB">Text here.</p>
This text has shadow with #F8A6AB color.
.textShadow {text-shadow: 3px 3px 1px #F8A6AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8A6AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8A6AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8A6AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8A6AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8A6AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8A6AB; -webkit-box-shadow: 1px 1px 3px 2px #F8A6AB; box-shadow: 1px 1px 3px 2px #F8A6AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8A6AB; -webkit-box-shadow: 1px 1px 3px 2px #F8A6AB; box-shadow:1px 1px 3px 2px #F8A6AB;">
Div content here</div>
This text has color #F8A6AB on black background.
This text has color #F8A6AB on white background.
This text has black color on #F8A6AB background.
This text has white color on #F8A6AB background.