HEX: #D4CAF1
RGB: (212,202,241)
#D4CAF1 contains red, green and blue colors in about the same proportion. Web safe color of #D4CAF1 is #CCCCFF (or #CCF).
#D4CAF1 color RGB value is (212,202,241).
RGB: (212,202,241) (83%,79%,95%)
R 212 of 255 = 83%
G 202 of 255 = 79%
B 241 of 255 = 95%
R + G + B ~ 86%. #D4CAF1 is light color.
R + G + B =
212 + 202 + 241 = 655 (100%)
R 212 of 655 ~ 32.37%
G 202 of 655 ~ 30.84%
B 241 of 655 ~ 36.79%
#D4CAF1 color CMYK value is (12,16,0,5).
CMYK: (12,16,0,5) C12M16Y0K5 (12%,16%,0%,5%) (0.12/0.16/0.00/0.05)
D4 | CA | F1 | |
---|---|---|---|
RGB | 212 | 202 | 241 |
HSL | 255° | 58.21% | 86.86% |
HSB/HSV | 255° | 16.18% | 94.51% |
CMYK | 12.03% | 16.18% | 0.00% |
5.49% |
HEX | D4 | CA | F1 |
Decimal | 212 | 202 | 241 |
Binary | 11010100 | 11001010 | 11110001 |
Octal | 324 | 312 | 361 |
Examples of css and html codes for elements with #D4CAF1 color. Also use rgb(212,202,241) instead hex code.
.myTextColor { color: #D4CAF1; }
<p style="color:#D4CAF1">This sample text font color is #D4CAF1.</p>
This text font color is #D4CAF1.
.myBgColor { background-color: #D4CAF1; }
<div style="background-color:#D4CAF1">Inner text</div>
This div background color is #D4CAF1.
.myBorderColor { border: 1px solid #D4CAF1; }
<div style="border:3px solid #D4CAF1">Div</div>
This div border color is #D4CAF1.
.myOpacity80 { color: #D4CAF1; opacity: 0.8; }
<p style="color:#D4CAF1;opacity:0.8;">80%</p>
Text with #D4CAF1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4CAF1;}
<p style="text-shadow: 3px 3px 1px #D4CAF1">Text here.</p>
This text has shadow with #D4CAF1 color.
.textShadow {text-shadow: 3px 3px 1px #D4CAF1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4CAF1, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4CAF1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4CAF1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4CAF1, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4CAF1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4CAF1; -webkit-box-shadow: 1px 1px 3px 2px #D4CAF1; box-shadow: 1px 1px 3px 2px #D4CAF1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4CAF1; -webkit-box-shadow: 1px 1px 3px 2px #D4CAF1; box-shadow:1px 1px 3px 2px #D4CAF1;">
Div content here</div>
This text has color #D4CAF1 on black background.
This text has color #D4CAF1 on white background.
This text has black color on #D4CAF1 background.
This text has white color on #D4CAF1 background.