HEX: #D6E198
RGB: (214,225,152)
#D6E198 contains mainly red and green colors. Web safe color of #D6E198 is #CCCC99 (or #CC9).
#D6E198 color RGB value is (214,225,152).
RGB: (214,225,152) (84%,88%,60%)
R 214 of 255 = 84%
G 225 of 255 = 88%
B 152 of 255 = 60%
R + G + B ~ 77%. #D6E198 is quite light color.
R + G + B =
214 + 225 + 152 = 591 (100%)
R 214 of 591 ~ 36.21%
G 225 of 591 ~ 38.07%
B 152 of 591 ~ 25.72%
#D6E198 color CMYK value is (5,0,32,12).
CMYK: (5,0,32,12) C5M0Y32K12 (5%,0%,32%,12%) (0.05/0.00/0.32/0.12)
D6 | E1 | 98 | |
---|---|---|---|
RGB | 214 | 225 | 152 |
HSL | 69° | 54.89% | 73.92% |
HSB/HSV | 69° | 32.44% | 88.24% |
CMYK | 4.89% | 0.00% | 32.44% |
11.76% |
HEX | D6 | E1 | 98 |
Decimal | 214 | 225 | 152 |
Binary | 11010110 | 11100001 | 10011000 |
Octal | 326 | 341 | 230 |
Examples of css and html codes for elements with #D6E198 color. Also use rgb(214,225,152) instead hex code.
.myTextColor { color: #D6E198; }
<p style="color:#D6E198">This sample text font color is #D6E198.</p>
This text font color is #D6E198.
.myBgColor { background-color: #D6E198; }
<div style="background-color:#D6E198">Inner text</div>
This div background color is #D6E198.
.myBorderColor { border: 1px solid #D6E198; }
<div style="border:3px solid #D6E198">Div</div>
This div border color is #D6E198.
.myOpacity80 { color: #D6E198; opacity: 0.8; }
<p style="color:#D6E198;opacity:0.8;">80%</p>
Text with #D6E198 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6E198;}
<p style="text-shadow: 3px 3px 1px #D6E198">Text here.</p>
This text has shadow with #D6E198 color.
.textShadow {text-shadow: 3px 3px 1px #D6E198, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6E198, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6E198 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6E198, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6E198, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6E198 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6E198; -webkit-box-shadow: 1px 1px 3px 2px #D6E198; box-shadow: 1px 1px 3px 2px #D6E198; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6E198; -webkit-box-shadow: 1px 1px 3px 2px #D6E198; box-shadow:1px 1px 3px 2px #D6E198;">
Div content here</div>
This text has color #D6E198 on black background.
This text has color #D6E198 on white background.
This text has black color on #D6E198 background.
This text has white color on #D6E198 background.