HEX: #F0CACA
RGB: (240,202,202)
#F0CACA contains red, green and blue colors in about the same proportion. Web safe color of #F0CACA is #FFCCCC (or #FCC).
#F0CACA color RGB value is (240,202,202).
RGB: (240,202,202) (94%,79%,79%)
R 240 of 255 = 94%
G 202 of 255 = 79%
B 202 of 255 = 79%
R + G + B ~ 84%. #F0CACA is quite light color.
R + G + B =
240 + 202 + 202 = 644 (100%)
R 240 of 644 ~ 37.27%
G 202 of 644 ~ 31.37%
B 202 of 644 ~ 31.37%
#F0CACA color CMYK value is (0,16,16,6).
CMYK: (0,16,16,6) C0M16Y16K6 (0%,16%,16%,6%) (0.00/0.16/0.16/0.06)
F0 | CA | CA | |
---|---|---|---|
RGB | 240 | 202 | 202 |
HSL | 0° | 55.88% | 86.67% |
HSB/HSV | 0° | 15.83% | 94.12% |
CMYK | 0.00% | 15.83% | 15.83% |
5.88% |
HEX | F0 | CA | CA |
Decimal | 240 | 202 | 202 |
Binary | 11110000 | 11001010 | 11001010 |
Octal | 360 | 312 | 312 |
Examples of css and html codes for elements with #F0CACA color. Also use rgb(240,202,202) instead hex code.
.myTextColor { color: #F0CACA; }
<p style="color:#F0CACA">This sample text font color is #F0CACA.</p>
This text font color is #F0CACA.
.myBgColor { background-color: #F0CACA; }
<div style="background-color:#F0CACA">Inner text</div>
This div background color is #F0CACA.
.myBorderColor { border: 1px solid #F0CACA; }
<div style="border:3px solid #F0CACA">Div</div>
This div border color is #F0CACA.
.myOpacity80 { color: #F0CACA; opacity: 0.8; }
<p style="color:#F0CACA;opacity:0.8;">80%</p>
Text with #F0CACA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0CACA;}
<p style="text-shadow: 3px 3px 1px #F0CACA">Text here.</p>
This text has shadow with #F0CACA color.
.textShadow {text-shadow: 3px 3px 1px #F0CACA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0CACA, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0CACA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0CACA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0CACA, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0CACA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0CACA; -webkit-box-shadow: 1px 1px 3px 2px #F0CACA; box-shadow: 1px 1px 3px 2px #F0CACA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0CACA; -webkit-box-shadow: 1px 1px 3px 2px #F0CACA; box-shadow:1px 1px 3px 2px #F0CACA;">
Div content here</div>
This text has color #F0CACA on black background.
This text has color #F0CACA on white background.
This text has black color on #F0CACA background.
This text has white color on #F0CACA background.