COLOR #DEF5A2

HEX: #DEF5A2
RGB: (222,245,162)

Color info

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

RGB color model

#DEF5A2 color RGB value is (222,245,162).

  • red value is 222;
  • green value is 245;
  • blue value is 162.
RGB:
(222,245,162)
(87%,96%,64%)

RGB channels and saturation

R 222 of 255 = 87%
G 245 of 255 = 96%
B 162 of 255 = 64%

222
245
162

R + G + B ~ 82%. #DEF5A2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
222 + 245 + 162 = 629 (100%)
R 222 of 629 ~ 35.29%
G 245 of 629 ~ 38.95%
B 162 of 629 ~ 25.76%

%35.29
%38.95
%25.76

CMYK color model

#DEF5A2 color CMYK value is (9,0,34,4).

  • cyan value is 9.39%
  • magenta value is 0.00%
  • yellow value is 33.88%
  • key color value is 3.92%
CMYK:
(9,0,34,4)
C9M0Y34K4 
(9%,0%,34%,4%)
(0.09/0.00/0.34/0.04)	

CMYK percentages

%9.39
%0
%33.88
%3.92

Codes

Color #DEF5A2 in popluar color models

DEF5A2
RGB222245162
HSL77°80.58%79.80%
HSB/HSV77°33.88%96.08%
CMYK9.39%0.00%33.88%
3.92%

Color #DEF5A2 in popluar number systems.

HEXDEF5A2
Decimal222245162
Binary110111101111010110100010
Octal336365242

Shades and tints

Shades of #DEF5A2

#DEF5A2
(222,245,162)
#CADF94
(202,223,148)
#B6C986
(182,201,134)
#A2B378
(162,179,120)
#8E9D6A
(142,157,106)
#7A875C
(122,135,92)
#66714E
(102,113,78)
#525B40
(82,91,64)
#3E4532
(62,69,50)
#2A2F24
(42,47,36)
#161916
(22,25,22)
#000000
(0,0,0)

Tints of #DEF5A2

#DEF5A2
(222,245,162)
#E1F5AA
(225,245,170)
#E4F5B2
(228,245,178)
#E7F5BA
(231,245,186)
#EAF5C2
(234,245,194)
#EDF5CA
(237,245,202)
#F0F5D2
(240,245,210)
#F3F5DA
(243,245,218)
#F6F5E2
(246,245,226)
#F9F5EA
(249,245,234)
#FCF5F2
(252,245,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DEF5A2 color. Also use rgb(222,245,162) instead hex code.

Text Font Color

.myTextColor { color: #DEF5A2; }

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

This text font color is #DEF5A2.


Background Color

.myBgColor { background-color: #DEF5A2; }

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

This div background color is #DEF5A2.


Border color

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

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

This div border color is #DEF5A2.


Opacity

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

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

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

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

This text has shadow with #DEF5A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEF5A2 on black background.


Color preview on white background

This text has color #DEF5A2 on white background.



Black color preview on #DEF5A2 background

This text has black color on #DEF5A2 background.


White color preview on #DEF5A2 background

This text has white color on #DEF5A2 background.