HEX: #F6AFA6
RGB: (246,175,166)
#F6AFA6 contains mainly red color. Web safe color of #F6AFA6 is #FF9999 (or #F99).
#F6AFA6 color RGB value is (246,175,166).
RGB: (246,175,166) (96%,69%,65%)
R 246 of 255 = 96%
G 175 of 255 = 69%
B 166 of 255 = 65%
R + G + B ~ 77%. #F6AFA6 is quite light color.
R + G + B =
246 + 175 + 166 = 587 (100%)
R 246 of 587 ~ 41.91%
G 175 of 587 ~ 29.81%
B 166 of 587 ~ 28.28%
#F6AFA6 color CMYK value is (0,29,33,4).
CMYK: (0,29,33,4) C0M29Y33K4 (0%,29%,33%,4%) (0.00/0.29/0.33/0.04)
F6 | AF | A6 | |
---|---|---|---|
RGB | 246 | 175 | 166 |
HSL | 7° | 81.63% | 80.78% |
HSB/HSV | 7° | 32.52% | 96.47% |
CMYK | 0.00% | 28.86% | 32.52% |
3.53% |
HEX | F6 | AF | A6 |
Decimal | 246 | 175 | 166 |
Binary | 11110110 | 10101111 | 10100110 |
Octal | 366 | 257 | 246 |
Examples of css and html codes for elements with #F6AFA6 color. Also use rgb(246,175,166) instead hex code.
.myTextColor { color: #F6AFA6; }
<p style="color:#F6AFA6">This sample text font color is #F6AFA6.</p>
This text font color is #F6AFA6.
.myBgColor { background-color: #F6AFA6; }
<div style="background-color:#F6AFA6">Inner text</div>
This div background color is #F6AFA6.
.myBorderColor { border: 1px solid #F6AFA6; }
<div style="border:3px solid #F6AFA6">Div</div>
This div border color is #F6AFA6.
.myOpacity80 { color: #F6AFA6; opacity: 0.8; }
<p style="color:#F6AFA6;opacity:0.8;">80%</p>
Text with #F6AFA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6AFA6;}
<p style="text-shadow: 3px 3px 1px #F6AFA6">Text here.</p>
This text has shadow with #F6AFA6 color.
.textShadow {text-shadow: 3px 3px 1px #F6AFA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6AFA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6AFA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6AFA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6AFA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6AFA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6AFA6; -webkit-box-shadow: 1px 1px 3px 2px #F6AFA6; box-shadow: 1px 1px 3px 2px #F6AFA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6AFA6; -webkit-box-shadow: 1px 1px 3px 2px #F6AFA6; box-shadow:1px 1px 3px 2px #F6AFA6;">
Div content here</div>
This text has color #F6AFA6 on black background.
This text has color #F6AFA6 on white background.
This text has black color on #F6AFA6 background.
This text has white color on #F6AFA6 background.