HEX: #F6AFE2
RGB: (246,175,226)
#F6AFE2 contains mainly red and blue colors. Web safe color of #F6AFE2 is #FF99CC (or #F9C).
#F6AFE2 color RGB value is (246,175,226).
RGB: (246,175,226) (96%,69%,89%)
R 246 of 255 = 96%
G 175 of 255 = 69%
B 226 of 255 = 89%
R + G + B ~ 85%. #F6AFE2 is quite light color.
R + G + B =
246 + 175 + 226 = 647 (100%)
R 246 of 647 ~ 38.02%
G 175 of 647 ~ 27.05%
B 226 of 647 ~ 34.93%
#F6AFE2 color CMYK value is (0,29,8,4).
CMYK: (0,29,8,4) C0M29Y8K4 (0%,29%,8%,4%) (0.00/0.29/0.08/0.04)
F6 | AF | E2 | |
---|---|---|---|
RGB | 246 | 175 | 226 |
HSL | 317° | 79.78% | 82.55% |
HSB/HSV | 317° | 28.86% | 96.47% |
CMYK | 0.00% | 28.86% | 8.13% |
3.53% |
HEX | F6 | AF | E2 |
Decimal | 246 | 175 | 226 |
Binary | 11110110 | 10101111 | 11100010 |
Octal | 366 | 257 | 342 |
Examples of css and html codes for elements with #F6AFE2 color. Also use rgb(246,175,226) instead hex code.
.myTextColor { color: #F6AFE2; }
<p style="color:#F6AFE2">This sample text font color is #F6AFE2.</p>
This text font color is #F6AFE2.
.myBgColor { background-color: #F6AFE2; }
<div style="background-color:#F6AFE2">Inner text</div>
This div background color is #F6AFE2.
.myBorderColor { border: 1px solid #F6AFE2; }
<div style="border:3px solid #F6AFE2">Div</div>
This div border color is #F6AFE2.
.myOpacity80 { color: #F6AFE2; opacity: 0.8; }
<p style="color:#F6AFE2;opacity:0.8;">80%</p>
Text with #F6AFE2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6AFE2;}
<p style="text-shadow: 3px 3px 1px #F6AFE2">Text here.</p>
This text has shadow with #F6AFE2 color.
.textShadow {text-shadow: 3px 3px 1px #F6AFE2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6AFE2, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6AFE2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6AFE2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6AFE2, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6AFE2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6AFE2; -webkit-box-shadow: 1px 1px 3px 2px #F6AFE2; box-shadow: 1px 1px 3px 2px #F6AFE2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6AFE2; -webkit-box-shadow: 1px 1px 3px 2px #F6AFE2; box-shadow:1px 1px 3px 2px #F6AFE2;">
Div content here</div>
This text has color #F6AFE2 on black background.
This text has color #F6AFE2 on white background.
This text has black color on #F6AFE2 background.
This text has white color on #F6AFE2 background.