HEX: #F2A7EF
RGB: (242,167,239)
#F2A7EF contains mainly red and blue colors. Web safe color of #F2A7EF is #FF99FF (or #F9F).
#F2A7EF color RGB value is (242,167,239).
RGB: (242,167,239) (95%,65%,94%)
R 242 of 255 = 95%
G 167 of 255 = 65%
B 239 of 255 = 94%
R + G + B ~ 85%. #F2A7EF is quite light color.
R + G + B =
242 + 167 + 239 = 648 (100%)
R 242 of 648 ~ 37.35%
G 167 of 648 ~ 25.77%
B 239 of 648 ~ 36.88%
#F2A7EF color CMYK value is (0,31,1,5).
CMYK: (0,31,1,5) C0M31Y1K5 (0%,31%,1%,5%) (0.00/0.31/0.01/0.05)
F2 | A7 | EF | |
---|---|---|---|
RGB | 242 | 167 | 239 |
HSL | 302° | 74.26% | 80.20% |
HSB/HSV | 302° | 30.99% | 94.90% |
CMYK | 0.00% | 30.99% | 1.24% |
5.10% |
HEX | F2 | A7 | EF |
Decimal | 242 | 167 | 239 |
Binary | 11110010 | 10100111 | 11101111 |
Octal | 362 | 247 | 357 |
Examples of css and html codes for elements with #F2A7EF color. Also use rgb(242,167,239) instead hex code.
.myTextColor { color: #F2A7EF; }
<p style="color:#F2A7EF">This sample text font color is #F2A7EF.</p>
This text font color is #F2A7EF.
.myBgColor { background-color: #F2A7EF; }
<div style="background-color:#F2A7EF">Inner text</div>
This div background color is #F2A7EF.
.myBorderColor { border: 1px solid #F2A7EF; }
<div style="border:3px solid #F2A7EF">Div</div>
This div border color is #F2A7EF.
.myOpacity80 { color: #F2A7EF; opacity: 0.8; }
<p style="color:#F2A7EF;opacity:0.8;">80%</p>
Text with #F2A7EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2A7EF;}
<p style="text-shadow: 3px 3px 1px #F2A7EF">Text here.</p>
This text has shadow with #F2A7EF color.
.textShadow {text-shadow: 3px 3px 1px #F2A7EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2A7EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2A7EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2A7EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2A7EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2A7EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2A7EF; -webkit-box-shadow: 1px 1px 3px 2px #F2A7EF; box-shadow: 1px 1px 3px 2px #F2A7EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2A7EF; -webkit-box-shadow: 1px 1px 3px 2px #F2A7EF; box-shadow:1px 1px 3px 2px #F2A7EF;">
Div content here</div>
This text has color #F2A7EF on black background.
This text has color #F2A7EF on white background.
This text has black color on #F2A7EF background.
This text has white color on #F2A7EF background.