HEX: #D4CCDB
RGB: (212,204,219)
#D4CCDB contains red, green and blue colors in about the same proportion. Web safe color of #D4CCDB is #CCCCCC (or #CCC).
#D4CCDB color RGB value is (212,204,219).
RGB: (212,204,219) (83%,80%,86%)
R 212 of 255 = 83%
G 204 of 255 = 80%
B 219 of 255 = 86%
R + G + B ~ 83%. #D4CCDB is quite light color.
R + G + B =
212 + 204 + 219 = 635 (100%)
R 212 of 635 ~ 33.39%
G 204 of 635 ~ 32.13%
B 219 of 635 ~ 34.49%
#D4CCDB color CMYK value is (3,7,0,14).
CMYK: (3,7,0,14) C3M7Y0K14 (3%,7%,0%,14%) (0.03/0.07/0.00/0.14)
D4 | CC | DB | |
---|---|---|---|
RGB | 212 | 204 | 219 |
HSL | 272° | 17.24% | 82.94% |
HSB/HSV | 272° | 6.85% | 85.88% |
CMYK | 3.20% | 6.85% | 0.00% |
14.12% |
HEX | D4 | CC | DB |
Decimal | 212 | 204 | 219 |
Binary | 11010100 | 11001100 | 11011011 |
Octal | 324 | 314 | 333 |
Examples of css and html codes for elements with #D4CCDB color. Also use rgb(212,204,219) instead hex code.
.myTextColor { color: #D4CCDB; }
<p style="color:#D4CCDB">This sample text font color is #D4CCDB.</p>
This text font color is #D4CCDB.
.myBgColor { background-color: #D4CCDB; }
<div style="background-color:#D4CCDB">Inner text</div>
This div background color is #D4CCDB.
.myBorderColor { border: 1px solid #D4CCDB; }
<div style="border:3px solid #D4CCDB">Div</div>
This div border color is #D4CCDB.
.myOpacity80 { color: #D4CCDB; opacity: 0.8; }
<p style="color:#D4CCDB;opacity:0.8;">80%</p>
Text with #D4CCDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4CCDB;}
<p style="text-shadow: 3px 3px 1px #D4CCDB">Text here.</p>
This text has shadow with #D4CCDB color.
.textShadow {text-shadow: 3px 3px 1px #D4CCDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4CCDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4CCDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4CCDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4CCDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4CCDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4CCDB; -webkit-box-shadow: 1px 1px 3px 2px #D4CCDB; box-shadow: 1px 1px 3px 2px #D4CCDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4CCDB; -webkit-box-shadow: 1px 1px 3px 2px #D4CCDB; box-shadow:1px 1px 3px 2px #D4CCDB;">
Div content here</div>
This text has color #D4CCDB on black background.
This text has color #D4CCDB on white background.
This text has black color on #D4CCDB background.
This text has white color on #D4CCDB background.