COLOR #D8E6A2

HEX: #D8E6A2
RGB: (216,230,162)

Color info

#D8E6A2 contains mainly red and green colors. Web safe color of #D8E6A2 is #CCCC99 (or #CC9).

RGB color model

#D8E6A2 color RGB value is (216,230,162).

  • red value is 216;
  • green value is 230;
  • blue value is 162.
RGB:
(216,230,162)
(85%,90%,64%)

RGB channels and saturation

R 216 of 255 = 85%
G 230 of 255 = 90%
B 162 of 255 = 64%

216
230
162

R + G + B ~ 80%. #D8E6A2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 230 + 162 = 608 (100%)
R 216 of 608 ~ 35.53%
G 230 of 608 ~ 37.83%
B 162 of 608 ~ 26.64%

%35.53
%37.83
%26.64

CMYK color model

#D8E6A2 color CMYK value is (6,0,30,10).

  • cyan value is 6.09%
  • magenta value is 0.00%
  • yellow value is 29.57%
  • key color value is 9.80%
CMYK:
(6,0,30,10)
C6M0Y30K10 
(6%,0%,30%,10%)
(0.06/0.00/0.30/0.10)	

CMYK percentages

%6.09
%0
%29.57
%9.8

Codes

Color #D8E6A2 in popluar color models

D8E6A2
RGB216230162
HSL72°57.63%76.86%
HSB/HSV72°29.57%90.20%
CMYK6.09%0.00%29.57%
9.80%

Color #D8E6A2 in popluar number systems.

HEXD8E6A2
Decimal216230162
Binary110110001110011010100010
Octal330346242

Shades and tints

Shades of #D8E6A2

#D8E6A2
(216,230,162)
#C5D294
(197,210,148)
#B2BE86
(178,190,134)
#9FAA78
(159,170,120)
#8C966A
(140,150,106)
#79825C
(121,130,92)
#666E4E
(102,110,78)
#535A40
(83,90,64)
#404632
(64,70,50)
#2D3224
(45,50,36)
#1A1E16
(26,30,22)
#000000
(0,0,0)

Tints of #D8E6A2

#D8E6A2
(216,230,162)
#DBE8AA
(219,232,170)
#DEEAB2
(222,234,178)
#E1ECBA
(225,236,186)
#E4EEC2
(228,238,194)
#E7F0CA
(231,240,202)
#EAF2D2
(234,242,210)
#EDF4DA
(237,244,218)
#F0F6E2
(240,246,226)
#F3F8EA
(243,248,234)
#F6FAF2
(246,250,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8E6A2 color. Also use rgb(216,230,162) instead hex code.

Text Font Color

.myTextColor { color: #D8E6A2; }

<p style="color:#D8E6A2">This sample text font color is #D8E6A2.</p>

This text font color is #D8E6A2.


Background Color

.myBgColor { background-color: #D8E6A2; }

<div style="background-color:#D8E6A2">Inner text</div>

This div background color is #D8E6A2.


Border color

.myBorderColor { border: 1px solid #D8E6A2; }

<div style="border:3px solid #D8E6A2">Div</div>

This div border color is #D8E6A2.


Opacity

.myOpacity80 { color: #D8E6A2; opacity: 0.8; }

<p style="color:#D8E6A2;opacity:0.8;">80%</p>

Text with #D8E6A2 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #D8E6A2;}

<p style="text-shadow: 3px 3px 1px #D8E6A2">Text here.</p>

This text has shadow with #D8E6A2 color.

.textShadow {text-shadow: 3px 3px 1px #D8E6A2, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #D8E6A2, 5px 5px 20px red">Text here.</p>

This text has shadow with #D8E6A2 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8E6A2, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#D8E6A2, Direction=45, Strength=4)">Text</p>

This text has shadow with #D8E6A2 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #D8E6A2;
  -webkit-box-shadow:	1px 1px 3px 2px #D8E6A2;
  box-shadow:		1px 1px 3px 2px #D8E6A2;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #D8E6A2;
-webkit-box-shadow: 1px 1px 3px 2px #D8E6A2;
box-shadow:1px 1px 3px 2px #D8E6A2;">
Div content here</div>
This div box has shadow with color #D8E6A2.

Preview

Color preview on black background

This text has color #D8E6A2 on black background.


Color preview on white background

This text has color #D8E6A2 on white background.



Black color preview on #D8E6A2 background

This text has black color on #D8E6A2 background.


White color preview on #D8E6A2 background

This text has white color on #D8E6A2 background.