COLOR #DEF2A1

HEX: #DEF2A1
RGB: (222,242,161)

Color info

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

RGB color model

#DEF2A1 color RGB value is (222,242,161).

  • red value is 222;
  • green value is 242;
  • blue value is 161.
RGB:
(222,242,161)
(87%,95%,63%)

RGB channels and saturation

R 222 of 255 = 87%
G 242 of 255 = 95%
B 161 of 255 = 63%

222
242
161

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

Portions of RGB colors in percentages

R + G + B =
222 + 242 + 161 = 625 (100%)
R 222 of 625 ~ 35.52%
G 242 of 625 ~ 38.72%
B 161 of 625 ~ 25.76%

%35.52
%38.72
%25.76

CMYK color model

#DEF2A1 color CMYK value is (8,0,33,5).

  • cyan value is 8.26%
  • magenta value is 0.00%
  • yellow value is 33.47%
  • key color value is 5.10%
CMYK:
(8,0,33,5)
C8M0Y33K5 
(8%,0%,33%,5%)
(0.08/0.00/0.33/0.05)	

CMYK percentages

%8.26
%0
%33.47
%5.1

Codes

Color #DEF2A1 in popluar color models

DEF2A1
RGB222242161
HSL75°75.70%79.02%
HSB/HSV75°33.47%94.90%
CMYK8.26%0.00%33.47%
5.10%

Color #DEF2A1 in popluar number systems.

HEXDEF2A1
Decimal222242161
Binary110111101111001010100001
Octal336362241

Shades and tints

Shades of #DEF2A1

#DEF2A1
(222,242,161)
#CADC93
(202,220,147)
#B6C685
(182,198,133)
#A2B077
(162,176,119)
#8E9A69
(142,154,105)
#7A845B
(122,132,91)
#666E4D
(102,110,77)
#52583F
(82,88,63)
#3E4231
(62,66,49)
#2A2C23
(42,44,35)
#161615
(22,22,21)
#000000
(0,0,0)

Tints of #DEF2A1

#DEF2A1
(222,242,161)
#E1F3A9
(225,243,169)
#E4F4B1
(228,244,177)
#E7F5B9
(231,245,185)
#EAF6C1
(234,246,193)
#EDF7C9
(237,247,201)
#F0F8D1
(240,248,209)
#F3F9D9
(243,249,217)
#F6FAE1
(246,250,225)
#F9FBE9
(249,251,233)
#FCFCF1
(252,252,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DEF2A1 color. Also use rgb(222,242,161) instead hex code.

Text Font Color

.myTextColor { color: #DEF2A1; }

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

This text font color is #DEF2A1.


Background Color

.myBgColor { background-color: #DEF2A1; }

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

This div background color is #DEF2A1.


Border color

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

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

This div border color is #DEF2A1.


Opacity

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

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

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

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

This text has shadow with #DEF2A1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEF2A1 on black background.


Color preview on white background

This text has color #DEF2A1 on white background.



Black color preview on #DEF2A1 background

This text has black color on #DEF2A1 background.


White color preview on #DEF2A1 background

This text has white color on #DEF2A1 background.