COLOR #D8E8A1

HEX: #D8E8A1
RGB: (216,232,161)

Color info

#D8E8A1 contains mainly red and green colors. Web safe color of #D8E8A1 is #CCFF99 (or #CF9).

RGB color model

#D8E8A1 color RGB value is (216,232,161).

  • red value is 216;
  • green value is 232;
  • blue value is 161.
RGB:
(216,232,161)
(85%,91%,63%)

RGB channels and saturation

R 216 of 255 = 85%
G 232 of 255 = 91%
B 161 of 255 = 63%

216
232
161

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

Portions of RGB colors in percentages

R + G + B =
216 + 232 + 161 = 609 (100%)
R 216 of 609 ~ 35.47%
G 232 of 609 ~ 38.1%
B 161 of 609 ~ 26.44%

%35.47
%38.1
%26.44

CMYK color model

#D8E8A1 color CMYK value is (7,0,31,9).

  • cyan value is 6.90%
  • magenta value is 0.00%
  • yellow value is 30.60%
  • key color value is 9.02%
CMYK:
(7,0,31,9)
C7M0Y31K9 
(7%,0%,31%,9%)
(0.07/0.00/0.31/0.09)	

CMYK percentages

%6.9
%0
%30.6
%9.02

Codes

Color #D8E8A1 in popluar color models

D8E8A1
RGB216232161
HSL74°60.68%77.06%
HSB/HSV74°30.60%90.98%
CMYK6.90%0.00%30.60%
9.02%

Color #D8E8A1 in popluar number systems.

HEXD8E8A1
Decimal216232161
Binary110110001110100010100001
Octal330350241

Shades and tints

Shades of #D8E8A1

#D8E8A1
(216,232,161)
#C5D393
(197,211,147)
#B2BE85
(178,190,133)
#9FA977
(159,169,119)
#8C9469
(140,148,105)
#797F5B
(121,127,91)
#666A4D
(102,106,77)
#53553F
(83,85,63)
#404031
(64,64,49)
#2D2B23
(45,43,35)
#1A1615
(26,22,21)
#000000
(0,0,0)

Tints of #D8E8A1

#D8E8A1
(216,232,161)
#DBEAA9
(219,234,169)
#DEECB1
(222,236,177)
#E1EEB9
(225,238,185)
#E4F0C1
(228,240,193)
#E7F2C9
(231,242,201)
#EAF4D1
(234,244,209)
#EDF6D9
(237,246,217)
#F0F8E1
(240,248,225)
#F3FAE9
(243,250,233)
#F6FCF1
(246,252,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8E8A1 color. Also use rgb(216,232,161) instead hex code.

Text Font Color

.myTextColor { color: #D8E8A1; }

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

This text font color is #D8E8A1.


Background Color

.myBgColor { background-color: #D8E8A1; }

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

This div background color is #D8E8A1.


Border color

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

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

This div border color is #D8E8A1.


Opacity

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

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

Text with #D8E8A1 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 #D8E8A1;}

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

This text has shadow with #D8E8A1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8E8A1 on black background.


Color preview on white background

This text has color #D8E8A1 on white background.



Black color preview on #D8E8A1 background

This text has black color on #D8E8A1 background.


White color preview on #D8E8A1 background

This text has white color on #D8E8A1 background.