COLOR #D8F0A2

HEX: #D8F0A2
RGB: (216,240,162)

Color info

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

RGB color model

#D8F0A2 color RGB value is (216,240,162).

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

RGB channels and saturation

R 216 of 255 = 85%
G 240 of 255 = 94%
B 162 of 255 = 64%

216
240
162

R + G + B ~ 81%. #D8F0A2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 240 + 162 = 618 (100%)
R 216 of 618 ~ 34.95%
G 240 of 618 ~ 38.83%
B 162 of 618 ~ 26.21%

%34.95
%38.83
%26.21

CMYK color model

#D8F0A2 color CMYK value is (10,0,33,6).

  • cyan value is 10.00%
  • magenta value is 0.00%
  • yellow value is 32.50%
  • key color value is 5.88%
CMYK:
(10,0,33,6)
C10M0Y33K6 
(10%,0%,33%,6%)
(0.10/0.00/0.33/0.06)	

CMYK percentages

%10
%0
%32.5
%5.88

Codes

Color #D8F0A2 in popluar color models

D8F0A2
RGB216240162
HSL78°72.22%78.82%
HSB/HSV78°32.50%94.12%
CMYK10.00%0.00%32.50%
5.88%

Color #D8F0A2 in popluar number systems.

HEXD8F0A2
Decimal216240162
Binary110110001111000010100010
Octal330360242

Shades and tints

Shades of #D8F0A2

#D8F0A2
(216,240,162)
#C5DB94
(197,219,148)
#B2C686
(178,198,134)
#9FB178
(159,177,120)
#8C9C6A
(140,156,106)
#79875C
(121,135,92)
#66724E
(102,114,78)
#535D40
(83,93,64)
#404832
(64,72,50)
#2D3324
(45,51,36)
#1A1E16
(26,30,22)
#000000
(0,0,0)

Tints of #D8F0A2

#D8F0A2
(216,240,162)
#DBF1AA
(219,241,170)
#DEF2B2
(222,242,178)
#E1F3BA
(225,243,186)
#E4F4C2
(228,244,194)
#E7F5CA
(231,245,202)
#EAF6D2
(234,246,210)
#EDF7DA
(237,247,218)
#F0F8E2
(240,248,226)
#F3F9EA
(243,249,234)
#F6FAF2
(246,250,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8F0A2; }

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

This text font color is #D8F0A2.


Background Color

.myBgColor { background-color: #D8F0A2; }

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

This div background color is #D8F0A2.


Border color

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

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

This div border color is #D8F0A2.


Opacity

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

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

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

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

This text has shadow with #D8F0A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8F0A2 on black background.


Color preview on white background

This text has color #D8F0A2 on white background.



Black color preview on #D8F0A2 background

This text has black color on #D8F0A2 background.


White color preview on #D8F0A2 background

This text has white color on #D8F0A2 background.