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