HEX: #F2D2F6
RGB: (242,210,246)
#F2D2F6 contains red, green and blue colors in about the same proportion. Web safe color of #F2D2F6 is #FFCCFF (or #FCF).
#F2D2F6 color RGB value is (242,210,246).
RGB: (242,210,246) (95%,82%,96%)
R 242 of 255 = 95%
G 210 of 255 = 82%
B 246 of 255 = 96%
R + G + B ~ 91%. #F2D2F6 is light color.
R + G + B =
242 + 210 + 246 = 698 (100%)
R 242 of 698 ~ 34.67%
G 210 of 698 ~ 30.09%
B 246 of 698 ~ 35.24%
#F2D2F6 color CMYK value is (2,15,0,4).
CMYK: (2,15,0,4) C2M15Y0K4 (2%,15%,0%,4%) (0.02/0.15/0.00/0.04)
F2 | D2 | F6 | |
---|---|---|---|
RGB | 242 | 210 | 246 |
HSL | 293° | 66.67% | 89.41% |
HSB/HSV | 293° | 14.63% | 96.47% |
CMYK | 1.63% | 14.63% | 0.00% |
3.53% |
HEX | F2 | D2 | F6 |
Decimal | 242 | 210 | 246 |
Binary | 11110010 | 11010010 | 11110110 |
Octal | 362 | 322 | 366 |
Examples of css and html codes for elements with #F2D2F6 color. Also use rgb(242,210,246) instead hex code.
.myTextColor { color: #F2D2F6; }
<p style="color:#F2D2F6">This sample text font color is #F2D2F6.</p>
This text font color is #F2D2F6.
.myBgColor { background-color: #F2D2F6; }
<div style="background-color:#F2D2F6">Inner text</div>
This div background color is #F2D2F6.
.myBorderColor { border: 1px solid #F2D2F6; }
<div style="border:3px solid #F2D2F6">Div</div>
This div border color is #F2D2F6.
.myOpacity80 { color: #F2D2F6; opacity: 0.8; }
<p style="color:#F2D2F6;opacity:0.8;">80%</p>
Text with #F2D2F6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D2F6;}
<p style="text-shadow: 3px 3px 1px #F2D2F6">Text here.</p>
This text has shadow with #F2D2F6 color.
.textShadow {text-shadow: 3px 3px 1px #F2D2F6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D2F6, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D2F6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D2F6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D2F6, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D2F6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D2F6; -webkit-box-shadow: 1px 1px 3px 2px #F2D2F6; box-shadow: 1px 1px 3px 2px #F2D2F6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D2F6; -webkit-box-shadow: 1px 1px 3px 2px #F2D2F6; box-shadow:1px 1px 3px 2px #F2D2F6;">
Div content here</div>
This text has color #F2D2F6 on black background.
This text has color #F2D2F6 on white background.
This text has black color on #F2D2F6 background.
This text has white color on #F2D2F6 background.