HEX: #F0C0CF
RGB: (240,192,207)
#F0C0CF contains red, green and blue colors in about the same proportion. Web safe color of #F0C0CF is #FFCCCC (or #FCC).
#F0C0CF color RGB value is (240,192,207).
RGB: (240,192,207) (94%,75%,81%)
R 240 of 255 = 94%
G 192 of 255 = 75%
B 207 of 255 = 81%
R + G + B ~ 83%. #F0C0CF is quite light color.
R + G + B =
240 + 192 + 207 = 639 (100%)
R 240 of 639 ~ 37.56%
G 192 of 639 ~ 30.05%
B 207 of 639 ~ 32.39%
#F0C0CF color CMYK value is (0,20,14,6).
CMYK: (0,20,14,6) C0M20Y14K6 (0%,20%,14%,6%) (0.00/0.20/0.14/0.06)
F0 | C0 | CF | |
---|---|---|---|
RGB | 240 | 192 | 207 |
HSL | 341° | 61.54% | 84.71% |
HSB/HSV | 341° | 20.00% | 94.12% |
CMYK | 0.00% | 20.00% | 13.75% |
5.88% |
HEX | F0 | C0 | CF |
Decimal | 240 | 192 | 207 |
Binary | 11110000 | 11000000 | 11001111 |
Octal | 360 | 300 | 317 |
Examples of css and html codes for elements with #F0C0CF color. Also use rgb(240,192,207) instead hex code.
.myTextColor { color: #F0C0CF; }
<p style="color:#F0C0CF">This sample text font color is #F0C0CF.</p>
This text font color is #F0C0CF.
.myBgColor { background-color: #F0C0CF; }
<div style="background-color:#F0C0CF">Inner text</div>
This div background color is #F0C0CF.
.myBorderColor { border: 1px solid #F0C0CF; }
<div style="border:3px solid #F0C0CF">Div</div>
This div border color is #F0C0CF.
.myOpacity80 { color: #F0C0CF; opacity: 0.8; }
<p style="color:#F0C0CF;opacity:0.8;">80%</p>
Text with #F0C0CF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C0CF;}
<p style="text-shadow: 3px 3px 1px #F0C0CF">Text here.</p>
This text has shadow with #F0C0CF color.
.textShadow {text-shadow: 3px 3px 1px #F0C0CF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C0CF, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C0CF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C0CF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C0CF, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C0CF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C0CF; -webkit-box-shadow: 1px 1px 3px 2px #F0C0CF; box-shadow: 1px 1px 3px 2px #F0C0CF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C0CF; -webkit-box-shadow: 1px 1px 3px 2px #F0C0CF; box-shadow:1px 1px 3px 2px #F0C0CF;">
Div content here</div>
This text has color #F0C0CF on black background.
This text has color #F0C0CF on white background.
This text has black color on #F0C0CF background.
This text has white color on #F0C0CF background.