HEX: #FFCCCC
RGB: (255,204,204)
#FFCCCC contains red, green and blue colors in about the same proportion. #FFCCCC color is web safe color. It maybe written shortly as #FCC.
#FFCCCC color RGB value is (255,204,204).
RGB: (255,204,204) (100%,80%,80%)
R 255 of 255 = 100%
G 204 of 255 = 80%
B 204 of 255 = 80%
R + G + B ~ 87%. #FFCCCC is light color.
R + G + B =
255 + 204 + 204 = 663 (100%)
R 255 of 663 ~ 38.46%
G 204 of 663 ~ 30.77%
B 204 of 663 ~ 30.77%
#FFCCCC color CMYK value is (0,20,20,0).
CMYK: (0,20,20,0) C0M20Y20K0 (0%,20%,20%,0%) (0.00/0.20/0.20/0.00)
FF | CC | CC | |
---|---|---|---|
RGB | 255 | 204 | 204 |
HSL | 0° | 100.00% | 90.00% |
HSB/HSV | 0° | 20.00% | 100.00% |
CMYK | 0.00% | 20.00% | 20.00% |
0.00% |
HEX | FF | CC | CC |
Decimal | 255 | 204 | 204 |
Binary | 11111111 | 11001100 | 11001100 |
Octal | 377 | 314 | 314 |
Examples of css and html codes for elements with #FFCCCC color. Also use rgb(255,204,204) instead hex code.
.myTextColor { color: #FFCCCC; }
<p style="color:#FFCCCC">This sample text font color is #FFCCCC.</p>
This text font color is #FFCCCC.
.myBgColor { background-color: #FFCCCC; }
<div style="background-color:#FFCCCC">Inner text</div>
This div background color is #FFCCCC.
.myBorderColor { border: 1px solid #FFCCCC; }
<div style="border:3px solid #FFCCCC">Div</div>
This div border color is #FFCCCC.
.myOpacity80 { color: #FFCCCC; opacity: 0.8; }
<p style="color:#FFCCCC;opacity:0.8;">80%</p>
Text with #FFCCCC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFCCCC;}
<p style="text-shadow: 3px 3px 1px #FFCCCC">Text here.</p>
This text has shadow with #FFCCCC color.
.textShadow {text-shadow: 3px 3px 1px #FFCCCC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFCCCC, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFCCCC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFCCCC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFCCCC, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFCCCC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFCCCC; -webkit-box-shadow: 1px 1px 3px 2px #FFCCCC; box-shadow: 1px 1px 3px 2px #FFCCCC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFCCCC; -webkit-box-shadow: 1px 1px 3px 2px #FFCCCC; box-shadow:1px 1px 3px 2px #FFCCCC;">
Div content here</div>
This text has color #FFCCCC on black background.
This text has color #FFCCCC on white background.
This text has black color on #FFCCCC background.
This text has white color on #FFCCCC background.