HEX: #F2D6FA
RGB: (242,214,250)
#F2D6FA contains red, green and blue colors in about the same proportion. Web safe color of #F2D6FA is #FFCCFF (or #FCF).
#F2D6FA color RGB value is (242,214,250).
RGB: (242,214,250) (95%,84%,98%)
R 242 of 255 = 95%
G 214 of 255 = 84%
B 250 of 255 = 98%
R + G + B ~ 92%. #F2D6FA is light color.
R + G + B =
242 + 214 + 250 = 706 (100%)
R 242 of 706 ~ 34.28%
G 214 of 706 ~ 30.31%
B 250 of 706 ~ 35.41%
#F2D6FA color CMYK value is (3,14,0,2).
CMYK: (3,14,0,2) C3M14Y0K2 (3%,14%,0%,2%) (0.03/0.14/0.00/0.02)
F2 | D6 | FA | |
---|---|---|---|
RGB | 242 | 214 | 250 |
HSL | 287° | 78.26% | 90.98% |
HSB/HSV | 287° | 14.40% | 98.04% |
CMYK | 3.20% | 14.40% | 0.00% |
1.96% |
HEX | F2 | D6 | FA |
Decimal | 242 | 214 | 250 |
Binary | 11110010 | 11010110 | 11111010 |
Octal | 362 | 326 | 372 |
Examples of css and html codes for elements with #F2D6FA color. Also use rgb(242,214,250) instead hex code.
.myTextColor { color: #F2D6FA; }
<p style="color:#F2D6FA">This sample text font color is #F2D6FA.</p>
This text font color is #F2D6FA.
.myBgColor { background-color: #F2D6FA; }
<div style="background-color:#F2D6FA">Inner text</div>
This div background color is #F2D6FA.
.myBorderColor { border: 1px solid #F2D6FA; }
<div style="border:3px solid #F2D6FA">Div</div>
This div border color is #F2D6FA.
.myOpacity80 { color: #F2D6FA; opacity: 0.8; }
<p style="color:#F2D6FA;opacity:0.8;">80%</p>
Text with #F2D6FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D6FA;}
<p style="text-shadow: 3px 3px 1px #F2D6FA">Text here.</p>
This text has shadow with #F2D6FA color.
.textShadow {text-shadow: 3px 3px 1px #F2D6FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D6FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D6FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D6FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D6FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D6FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D6FA; -webkit-box-shadow: 1px 1px 3px 2px #F2D6FA; box-shadow: 1px 1px 3px 2px #F2D6FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D6FA; -webkit-box-shadow: 1px 1px 3px 2px #F2D6FA; box-shadow:1px 1px 3px 2px #F2D6FA;">
Div content here</div>
This text has color #F2D6FA on black background.
This text has color #F2D6FA on white background.
This text has black color on #F2D6FA background.
This text has white color on #F2D6FA background.