HEX: #F2D5D7
RGB: (242,213,215)
#F2D5D7 contains red, green and blue colors in about the same proportion. Web safe color of #F2D5D7 is #FFCCCC (or #FCC).
#F2D5D7 color RGB value is (242,213,215).
RGB: (242,213,215) (95%,84%,84%)
R 242 of 255 = 95%
G 213 of 255 = 84%
B 215 of 255 = 84%
R + G + B ~ 88%. #F2D5D7 is light color.
R + G + B =
242 + 213 + 215 = 670 (100%)
R 242 of 670 ~ 36.12%
G 213 of 670 ~ 31.79%
B 215 of 670 ~ 32.09%
#F2D5D7 color CMYK value is (0,12,11,5).
CMYK: (0,12,11,5) C0M12Y11K5 (0%,12%,11%,5%) (0.00/0.12/0.11/0.05)
F2 | D5 | D7 | |
---|---|---|---|
RGB | 242 | 213 | 215 |
HSL | 356° | 52.73% | 89.22% |
HSB/HSV | 356° | 11.98% | 94.90% |
CMYK | 0.00% | 11.98% | 11.16% |
5.10% |
HEX | F2 | D5 | D7 |
Decimal | 242 | 213 | 215 |
Binary | 11110010 | 11010101 | 11010111 |
Octal | 362 | 325 | 327 |
Examples of css and html codes for elements with #F2D5D7 color. Also use rgb(242,213,215) instead hex code.
.myTextColor { color: #F2D5D7; }
<p style="color:#F2D5D7">This sample text font color is #F2D5D7.</p>
This text font color is #F2D5D7.
.myBgColor { background-color: #F2D5D7; }
<div style="background-color:#F2D5D7">Inner text</div>
This div background color is #F2D5D7.
.myBorderColor { border: 1px solid #F2D5D7; }
<div style="border:3px solid #F2D5D7">Div</div>
This div border color is #F2D5D7.
.myOpacity80 { color: #F2D5D7; opacity: 0.8; }
<p style="color:#F2D5D7;opacity:0.8;">80%</p>
Text with #F2D5D7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D5D7;}
<p style="text-shadow: 3px 3px 1px #F2D5D7">Text here.</p>
This text has shadow with #F2D5D7 color.
.textShadow {text-shadow: 3px 3px 1px #F2D5D7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D5D7, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D5D7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D5D7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D5D7, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D5D7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D5D7; -webkit-box-shadow: 1px 1px 3px 2px #F2D5D7; box-shadow: 1px 1px 3px 2px #F2D5D7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D5D7; -webkit-box-shadow: 1px 1px 3px 2px #F2D5D7; box-shadow:1px 1px 3px 2px #F2D5D7;">
Div content here</div>
This text has color #F2D5D7 on black background.
This text has color #F2D5D7 on white background.
This text has black color on #F2D5D7 background.
This text has white color on #F2D5D7 background.