HEX: #FFC0CB
RGB: (255,192,203)
Color name is Pink. #FFC0CB contains mainly red and blue colors. Web safe color of #FFC0CB is #FFCCCC (or #FCC).
#FFC0CB color RGB value is (255,192,203).
RGB: (255,192,203) (100%,75%,80%)
R 255 of 255 = 100%
G 192 of 255 = 75%
B 203 of 255 = 80%
R + G + B ~ 85%. #FFC0CB is quite light color.
R + G + B =
255 + 192 + 203 = 650 (100%)
R 255 of 650 ~ 39.23%
G 192 of 650 ~ 29.54%
B 203 of 650 ~ 31.23%
#FFC0CB color CMYK value is (0,25,20,0).
CMYK: (0,25,20,0) C0M25Y20K0 (0%,25%,20%,0%) (0.00/0.25/0.20/0.00)
FF | C0 | CB | |
---|---|---|---|
RGB | 255 | 192 | 203 |
HSL | 350° | 100.00% | 87.65% |
HSB/HSV | 350° | 24.71% | 100.00% |
CMYK | 0.00% | 24.71% | 20.39% |
0.00% |
HEX | FF | C0 | CB |
Decimal | 255 | 192 | 203 |
Binary | 11111111 | 11000000 | 11001011 |
Octal | 377 | 300 | 313 |
Examples of css and html codes for elements with #FFC0CB color. Also use rgb(255,192,203) instead hex code.
.myTextColor { color: #FFC0CB; }
<p style="color:#FFC0CB">This sample text font color is #FFC0CB.</p>
This text font color is #FFC0CB.
.myBgColor { background-color: #FFC0CB; }
<div style="background-color:#FFC0CB">Inner text</div>
This div background color is #FFC0CB.
.myBorderColor { border: 1px solid #FFC0CB; }
<div style="border:3px solid #FFC0CB">Div</div>
This div border color is #FFC0CB.
.myOpacity80 { color: #FFC0CB; opacity: 0.8; }
<p style="color:#FFC0CB;opacity:0.8;">80%</p>
Text with #FFC0CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFC0CB;}
<p style="text-shadow: 3px 3px 1px #FFC0CB">Text here.</p>
This text has shadow with #FFC0CB color.
.textShadow {text-shadow: 3px 3px 1px #FFC0CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFC0CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFC0CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFC0CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFC0CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFC0CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFC0CB; -webkit-box-shadow: 1px 1px 3px 2px #FFC0CB; box-shadow: 1px 1px 3px 2px #FFC0CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFC0CB; -webkit-box-shadow: 1px 1px 3px 2px #FFC0CB; box-shadow:1px 1px 3px 2px #FFC0CB;">
Div content here</div>
This text has color #FFC0CB on black background.
This text has color #FFC0CB on white background.
This text has black color on #FFC0CB background.
This text has white color on #FFC0CB background.