HEX: #F2A2ED
RGB: (242,162,237)
#F2A2ED contains mainly red and blue colors. Web safe color of #F2A2ED is #FF99FF (or #F9F).
#F2A2ED color RGB value is (242,162,237).
RGB: (242,162,237) (95%,64%,93%)
R 242 of 255 = 95%
G 162 of 255 = 64%
B 237 of 255 = 93%
R + G + B ~ 84%. #F2A2ED is quite light color.
R + G + B =
242 + 162 + 237 = 641 (100%)
R 242 of 641 ~ 37.75%
G 162 of 641 ~ 25.27%
B 237 of 641 ~ 36.97%
#F2A2ED color CMYK value is (0,33,2,5).
CMYK: (0,33,2,5) C0M33Y2K5 (0%,33%,2%,5%) (0.00/0.33/0.02/0.05)
F2 | A2 | ED | |
---|---|---|---|
RGB | 242 | 162 | 237 |
HSL | 304° | 75.47% | 79.22% |
HSB/HSV | 304° | 33.06% | 94.90% |
CMYK | 0.00% | 33.06% | 2.07% |
5.10% |
HEX | F2 | A2 | ED |
Decimal | 242 | 162 | 237 |
Binary | 11110010 | 10100010 | 11101101 |
Octal | 362 | 242 | 355 |
Examples of css and html codes for elements with #F2A2ED color. Also use rgb(242,162,237) instead hex code.
.myTextColor { color: #F2A2ED; }
<p style="color:#F2A2ED">This sample text font color is #F2A2ED.</p>
This text font color is #F2A2ED.
.myBgColor { background-color: #F2A2ED; }
<div style="background-color:#F2A2ED">Inner text</div>
This div background color is #F2A2ED.
.myBorderColor { border: 1px solid #F2A2ED; }
<div style="border:3px solid #F2A2ED">Div</div>
This div border color is #F2A2ED.
.myOpacity80 { color: #F2A2ED; opacity: 0.8; }
<p style="color:#F2A2ED;opacity:0.8;">80%</p>
Text with #F2A2ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2A2ED;}
<p style="text-shadow: 3px 3px 1px #F2A2ED">Text here.</p>
This text has shadow with #F2A2ED color.
.textShadow {text-shadow: 3px 3px 1px #F2A2ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2A2ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2A2ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2A2ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2A2ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2A2ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2A2ED; -webkit-box-shadow: 1px 1px 3px 2px #F2A2ED; box-shadow: 1px 1px 3px 2px #F2A2ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2A2ED; -webkit-box-shadow: 1px 1px 3px 2px #F2A2ED; box-shadow:1px 1px 3px 2px #F2A2ED;">
Div content here</div>
This text has color #F2A2ED on black background.
This text has color #F2A2ED on white background.
This text has black color on #F2A2ED background.
This text has white color on #F2A2ED background.