HEX: #DAF8DD
RGB: (218,248,221)
#DAF8DD contains red, green and blue colors in about the same proportion. Web safe color of #DAF8DD is #CCFFCC (or #CFC).
#DAF8DD color RGB value is (218,248,221).
RGB: (218,248,221) (85%,97%,87%)
R 218 of 255 = 85%
G 248 of 255 = 97%
B 221 of 255 = 87%
R + G + B ~ 90%. #DAF8DD is light color.
R + G + B =
218 + 248 + 221 = 687 (100%)
R 218 of 687 ~ 31.73%
G 248 of 687 ~ 36.1%
B 221 of 687 ~ 32.17%
#DAF8DD color CMYK value is (12,0,11,3).
CMYK: (12,0,11,3) C12M0Y11K3 (12%,0%,11%,3%) (0.12/0.00/0.11/0.03)
DA | F8 | DD | |
---|---|---|---|
RGB | 218 | 248 | 221 |
HSL | 126° | 68.18% | 91.37% |
HSB/HSV | 126° | 12.10% | 97.25% |
CMYK | 12.10% | 0.00% | 10.89% |
2.75% |
HEX | DA | F8 | DD |
Decimal | 218 | 248 | 221 |
Binary | 11011010 | 11111000 | 11011101 |
Octal | 332 | 370 | 335 |
Examples of css and html codes for elements with #DAF8DD color. Also use rgb(218,248,221) instead hex code.
.myTextColor { color: #DAF8DD; }
<p style="color:#DAF8DD">This sample text font color is #DAF8DD.</p>
This text font color is #DAF8DD.
.myBgColor { background-color: #DAF8DD; }
<div style="background-color:#DAF8DD">Inner text</div>
This div background color is #DAF8DD.
.myBorderColor { border: 1px solid #DAF8DD; }
<div style="border:3px solid #DAF8DD">Div</div>
This div border color is #DAF8DD.
.myOpacity80 { color: #DAF8DD; opacity: 0.8; }
<p style="color:#DAF8DD;opacity:0.8;">80%</p>
Text with #DAF8DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DAF8DD;}
<p style="text-shadow: 3px 3px 1px #DAF8DD">Text here.</p>
This text has shadow with #DAF8DD color.
.textShadow {text-shadow: 3px 3px 1px #DAF8DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DAF8DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #DAF8DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DAF8DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DAF8DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #DAF8DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DAF8DD; -webkit-box-shadow: 1px 1px 3px 2px #DAF8DD; box-shadow: 1px 1px 3px 2px #DAF8DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DAF8DD; -webkit-box-shadow: 1px 1px 3px 2px #DAF8DD; box-shadow:1px 1px 3px 2px #DAF8DD;">
Div content here</div>
This text has color #DAF8DD on black background.
This text has color #DAF8DD on white background.
This text has black color on #DAF8DD background.
This text has white color on #DAF8DD background.