HEX: #DEF896
RGB: (222,248,150)
#DEF896 contains mainly red and green colors. Web safe color of #DEF896 is #CCFF99 (or #CF9).
#DEF896 color RGB value is (222,248,150).
RGB: (222,248,150) (87%,97%,59%)
R 222 of 255 = 87%
G 248 of 255 = 97%
B 150 of 255 = 59%
R + G + B ~ 81%. #DEF896 is quite light color.
R + G + B =
222 + 248 + 150 = 620 (100%)
R 222 of 620 ~ 35.81%
G 248 of 620 ~ 40%
B 150 of 620 ~ 24.19%
#DEF896 color CMYK value is (10,0,40,3).
CMYK: (10,0,40,3) C10M0Y40K3 (10%,0%,40%,3%) (0.10/0.00/0.40/0.03)
DE | F8 | 96 | |
---|---|---|---|
RGB | 222 | 248 | 150 |
HSL | 76° | 87.50% | 78.04% |
HSB/HSV | 76° | 39.52% | 97.25% |
CMYK | 10.48% | 0.00% | 39.52% |
2.75% |
HEX | DE | F8 | 96 |
Decimal | 222 | 248 | 150 |
Binary | 11011110 | 11111000 | 10010110 |
Octal | 336 | 370 | 226 |
Examples of css and html codes for elements with #DEF896 color. Also use rgb(222,248,150) instead hex code.
.myTextColor { color: #DEF896; }
<p style="color:#DEF896">This sample text font color is #DEF896.</p>
This text font color is #DEF896.
.myBgColor { background-color: #DEF896; }
<div style="background-color:#DEF896">Inner text</div>
This div background color is #DEF896.
.myBorderColor { border: 1px solid #DEF896; }
<div style="border:3px solid #DEF896">Div</div>
This div border color is #DEF896.
.myOpacity80 { color: #DEF896; opacity: 0.8; }
<p style="color:#DEF896;opacity:0.8;">80%</p>
Text with #DEF896 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF896;}
<p style="text-shadow: 3px 3px 1px #DEF896">Text here.</p>
This text has shadow with #DEF896 color.
.textShadow {text-shadow: 3px 3px 1px #DEF896, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF896, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF896 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF896, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF896, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF896 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF896; -webkit-box-shadow: 1px 1px 3px 2px #DEF896; box-shadow: 1px 1px 3px 2px #DEF896; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF896; -webkit-box-shadow: 1px 1px 3px 2px #DEF896; box-shadow:1px 1px 3px 2px #DEF896;">
Div content here</div>
This text has color #DEF896 on black background.
This text has color #DEF896 on white background.
This text has black color on #DEF896 background.
This text has white color on #DEF896 background.