HEX: #D7DEFB
RGB: (215,222,251)
#D7DEFB contains red, green and blue colors in about the same proportion. Web safe color of #D7DEFB is #CCCCFF (or #CCF).
#D7DEFB color RGB value is (215,222,251).
RGB: (215,222,251) (84%,87%,98%)
R 215 of 255 = 84%
G 222 of 255 = 87%
B 251 of 255 = 98%
R + G + B ~ 90%. #D7DEFB is light color.
R + G + B =
215 + 222 + 251 = 688 (100%)
R 215 of 688 ~ 31.25%
G 222 of 688 ~ 32.27%
B 251 of 688 ~ 36.48%
#D7DEFB color CMYK value is (14,12,0,2).
CMYK: (14,12,0,2) C14M12Y0K2 (14%,12%,0%,2%) (0.14/0.12/0.00/0.02)
D7 | DE | FB | |
---|---|---|---|
RGB | 215 | 222 | 251 |
HSL | 228° | 81.82% | 91.37% |
HSB/HSV | 228° | 14.34% | 98.43% |
CMYK | 14.34% | 11.55% | 0.00% |
1.57% |
HEX | D7 | DE | FB |
Decimal | 215 | 222 | 251 |
Binary | 11010111 | 11011110 | 11111011 |
Octal | 327 | 336 | 373 |
Examples of css and html codes for elements with #D7DEFB color. Also use rgb(215,222,251) instead hex code.
.myTextColor { color: #D7DEFB; }
<p style="color:#D7DEFB">This sample text font color is #D7DEFB.</p>
This text font color is #D7DEFB.
.myBgColor { background-color: #D7DEFB; }
<div style="background-color:#D7DEFB">Inner text</div>
This div background color is #D7DEFB.
.myBorderColor { border: 1px solid #D7DEFB; }
<div style="border:3px solid #D7DEFB">Div</div>
This div border color is #D7DEFB.
.myOpacity80 { color: #D7DEFB; opacity: 0.8; }
<p style="color:#D7DEFB;opacity:0.8;">80%</p>
Text with #D7DEFB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7DEFB;}
<p style="text-shadow: 3px 3px 1px #D7DEFB">Text here.</p>
This text has shadow with #D7DEFB color.
.textShadow {text-shadow: 3px 3px 1px #D7DEFB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7DEFB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7DEFB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7DEFB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7DEFB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7DEFB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7DEFB; -webkit-box-shadow: 1px 1px 3px 2px #D7DEFB; box-shadow: 1px 1px 3px 2px #D7DEFB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7DEFB; -webkit-box-shadow: 1px 1px 3px 2px #D7DEFB; box-shadow:1px 1px 3px 2px #D7DEFB;">
Div content here</div>
This text has color #D7DEFB on black background.
This text has color #D7DEFB on white background.
This text has black color on #D7DEFB background.
This text has white color on #D7DEFB background.