HEX: #D4D4FF
RGB: (212,212,255)
#D4D4FF contains red, green and blue colors in about the same proportion. Web safe color of #D4D4FF is #CCCCFF (or #CCF).
#D4D4FF color RGB value is (212,212,255).
RGB: (212,212,255) (83%,83%,100%)
R 212 of 255 = 83%
G 212 of 255 = 83%
B 255 of 255 = 100%
R + G + B ~ 89%. #D4D4FF is light color.
R + G + B =
212 + 212 + 255 = 679 (100%)
R 212 of 679 ~ 31.22%
G 212 of 679 ~ 31.22%
B 255 of 679 ~ 37.56%
#D4D4FF color CMYK value is (17,17,0,0).
CMYK: (17,17,0,0) C17M17Y0K0 (17%,17%,0%,0%) (0.17/0.17/0.00/0.00)
D4 | D4 | FF | |
---|---|---|---|
RGB | 212 | 212 | 255 |
HSL | 240° | 100.00% | 91.57% |
HSB/HSV | 240° | 16.86% | 100.00% |
CMYK | 16.86% | 16.86% | 0.00% |
0.00% |
HEX | D4 | D4 | FF |
Decimal | 212 | 212 | 255 |
Binary | 11010100 | 11010100 | 11111111 |
Octal | 324 | 324 | 377 |
Examples of css and html codes for elements with #D4D4FF color. Also use rgb(212,212,255) instead hex code.
.myTextColor { color: #D4D4FF; }
<p style="color:#D4D4FF">This sample text font color is #D4D4FF.</p>
This text font color is #D4D4FF.
.myBgColor { background-color: #D4D4FF; }
<div style="background-color:#D4D4FF">Inner text</div>
This div background color is #D4D4FF.
.myBorderColor { border: 1px solid #D4D4FF; }
<div style="border:3px solid #D4D4FF">Div</div>
This div border color is #D4D4FF.
.myOpacity80 { color: #D4D4FF; opacity: 0.8; }
<p style="color:#D4D4FF;opacity:0.8;">80%</p>
Text with #D4D4FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4D4FF;}
<p style="text-shadow: 3px 3px 1px #D4D4FF">Text here.</p>
This text has shadow with #D4D4FF color.
.textShadow {text-shadow: 3px 3px 1px #D4D4FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4D4FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4D4FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4D4FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4D4FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4D4FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4D4FF; -webkit-box-shadow: 1px 1px 3px 2px #D4D4FF; box-shadow: 1px 1px 3px 2px #D4D4FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4D4FF; -webkit-box-shadow: 1px 1px 3px 2px #D4D4FF; box-shadow:1px 1px 3px 2px #D4D4FF;">
Div content here</div>
This text has color #D4D4FF on black background.
This text has color #D4D4FF on white background.
This text has black color on #D4D4FF background.
This text has white color on #D4D4FF background.