HEX: #FFD8DC
RGB: (255,216,220)
#FFD8DC contains red, green and blue colors in about the same proportion. Web safe color of #FFD8DC is #FFCCCC (or #FCC).
#FFD8DC color RGB value is (255,216,220).
RGB: (255,216,220) (100%,85%,86%)
R 255 of 255 = 100%
G 216 of 255 = 85%
B 220 of 255 = 86%
R + G + B ~ 90%. #FFD8DC is light color.
R + G + B =
255 + 216 + 220 = 691 (100%)
R 255 of 691 ~ 36.9%
G 216 of 691 ~ 31.26%
B 220 of 691 ~ 31.84%
#FFD8DC color CMYK value is (0,15,14,0).
CMYK: (0,15,14,0) C0M15Y14K0 (0%,15%,14%,0%) (0.00/0.15/0.14/0.00)
FF | D8 | DC | |
---|---|---|---|
RGB | 255 | 216 | 220 |
HSL | 354° | 100.00% | 92.35% |
HSB/HSV | 354° | 15.29% | 100.00% |
CMYK | 0.00% | 15.29% | 13.73% |
0.00% |
HEX | FF | D8 | DC |
Decimal | 255 | 216 | 220 |
Binary | 11111111 | 11011000 | 11011100 |
Octal | 377 | 330 | 334 |
Examples of css and html codes for elements with #FFD8DC color. Also use rgb(255,216,220) instead hex code.
.myTextColor { color: #FFD8DC; }
<p style="color:#FFD8DC">This sample text font color is #FFD8DC.</p>
This text font color is #FFD8DC.
.myBgColor { background-color: #FFD8DC; }
<div style="background-color:#FFD8DC">Inner text</div>
This div background color is #FFD8DC.
.myBorderColor { border: 1px solid #FFD8DC; }
<div style="border:3px solid #FFD8DC">Div</div>
This div border color is #FFD8DC.
.myOpacity80 { color: #FFD8DC; opacity: 0.8; }
<p style="color:#FFD8DC;opacity:0.8;">80%</p>
Text with #FFD8DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFD8DC;}
<p style="text-shadow: 3px 3px 1px #FFD8DC">Text here.</p>
This text has shadow with #FFD8DC color.
.textShadow {text-shadow: 3px 3px 1px #FFD8DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFD8DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFD8DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFD8DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFD8DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFD8DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFD8DC; -webkit-box-shadow: 1px 1px 3px 2px #FFD8DC; box-shadow: 1px 1px 3px 2px #FFD8DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFD8DC; -webkit-box-shadow: 1px 1px 3px 2px #FFD8DC; box-shadow:1px 1px 3px 2px #FFD8DC;">
Div content here</div>
This text has color #FFD8DC on black background.
This text has color #FFD8DC on white background.
This text has black color on #FFD8DC background.
This text has white color on #FFD8DC background.