HEX: #D4E7CA
RGB: (212,231,202)
#D4E7CA contains red, green and blue colors in about the same proportion. Web safe color of #D4E7CA is #CCFFCC (or #CFC).
#D4E7CA color RGB value is (212,231,202).
RGB: (212,231,202) (83%,91%,79%)
R 212 of 255 = 83%
G 231 of 255 = 91%
B 202 of 255 = 79%
R + G + B ~ 84%. #D4E7CA is quite light color.
R + G + B =
212 + 231 + 202 = 645 (100%)
R 212 of 645 ~ 32.87%
G 231 of 645 ~ 35.81%
B 202 of 645 ~ 31.32%
#D4E7CA color CMYK value is (8,0,13,9).
CMYK: (8,0,13,9) C8M0Y13K9 (8%,0%,13%,9%) (0.08/0.00/0.13/0.09)
D4 | E7 | CA | |
---|---|---|---|
RGB | 212 | 231 | 202 |
HSL | 99° | 37.66% | 84.90% |
HSB/HSV | 99° | 12.55% | 90.59% |
CMYK | 8.23% | 0.00% | 12.55% |
9.41% |
HEX | D4 | E7 | CA |
Decimal | 212 | 231 | 202 |
Binary | 11010100 | 11100111 | 11001010 |
Octal | 324 | 347 | 312 |
Examples of css and html codes for elements with #D4E7CA color. Also use rgb(212,231,202) instead hex code.
.myTextColor { color: #D4E7CA; }
<p style="color:#D4E7CA">This sample text font color is #D4E7CA.</p>
This text font color is #D4E7CA.
.myBgColor { background-color: #D4E7CA; }
<div style="background-color:#D4E7CA">Inner text</div>
This div background color is #D4E7CA.
.myBorderColor { border: 1px solid #D4E7CA; }
<div style="border:3px solid #D4E7CA">Div</div>
This div border color is #D4E7CA.
.myOpacity80 { color: #D4E7CA; opacity: 0.8; }
<p style="color:#D4E7CA;opacity:0.8;">80%</p>
Text with #D4E7CA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4E7CA;}
<p style="text-shadow: 3px 3px 1px #D4E7CA">Text here.</p>
This text has shadow with #D4E7CA color.
.textShadow {text-shadow: 3px 3px 1px #D4E7CA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4E7CA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4E7CA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4E7CA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4E7CA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4E7CA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4E7CA; -webkit-box-shadow: 1px 1px 3px 2px #D4E7CA; box-shadow: 1px 1px 3px 2px #D4E7CA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4E7CA; -webkit-box-shadow: 1px 1px 3px 2px #D4E7CA; box-shadow:1px 1px 3px 2px #D4E7CA;">
Div content here</div>
This text has color #D4E7CA on black background.
This text has color #D4E7CA on white background.
This text has black color on #D4E7CA background.
This text has white color on #D4E7CA background.