HEX: #F0CCEC
RGB: (240,204,236)
#F0CCEC contains red, green and blue colors in about the same proportion. Web safe color of #F0CCEC is #FFCCFF (or #FCF).
#F0CCEC color RGB value is (240,204,236).
RGB: (240,204,236) (94%,80%,93%)
R 240 of 255 = 94%
G 204 of 255 = 80%
B 236 of 255 = 93%
R + G + B ~ 89%. #F0CCEC is light color.
R + G + B =
240 + 204 + 236 = 680 (100%)
R 240 of 680 ~ 35.29%
G 204 of 680 ~ 30%
B 236 of 680 ~ 34.71%
#F0CCEC color CMYK value is (0,15,2,6).
CMYK: (0,15,2,6) C0M15Y2K6 (0%,15%,2%,6%) (0.00/0.15/0.02/0.06)
F0 | CC | EC | |
---|---|---|---|
RGB | 240 | 204 | 236 |
HSL | 307° | 54.55% | 87.06% |
HSB/HSV | 307° | 15.00% | 94.12% |
CMYK | 0.00% | 15.00% | 1.67% |
5.88% |
HEX | F0 | CC | EC |
Decimal | 240 | 204 | 236 |
Binary | 11110000 | 11001100 | 11101100 |
Octal | 360 | 314 | 354 |
Examples of css and html codes for elements with #F0CCEC color. Also use rgb(240,204,236) instead hex code.
.myTextColor { color: #F0CCEC; }
<p style="color:#F0CCEC">This sample text font color is #F0CCEC.</p>
This text font color is #F0CCEC.
.myBgColor { background-color: #F0CCEC; }
<div style="background-color:#F0CCEC">Inner text</div>
This div background color is #F0CCEC.
.myBorderColor { border: 1px solid #F0CCEC; }
<div style="border:3px solid #F0CCEC">Div</div>
This div border color is #F0CCEC.
.myOpacity80 { color: #F0CCEC; opacity: 0.8; }
<p style="color:#F0CCEC;opacity:0.8;">80%</p>
Text with #F0CCEC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0CCEC;}
<p style="text-shadow: 3px 3px 1px #F0CCEC">Text here.</p>
This text has shadow with #F0CCEC color.
.textShadow {text-shadow: 3px 3px 1px #F0CCEC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0CCEC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0CCEC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0CCEC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0CCEC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0CCEC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0CCEC; -webkit-box-shadow: 1px 1px 3px 2px #F0CCEC; box-shadow: 1px 1px 3px 2px #F0CCEC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0CCEC; -webkit-box-shadow: 1px 1px 3px 2px #F0CCEC; box-shadow:1px 1px 3px 2px #F0CCEC;">
Div content here</div>
This text has color #F0CCEC on black background.
This text has color #F0CCEC on white background.
This text has black color on #F0CCEC background.
This text has white color on #F0CCEC background.