COLOR #DEF2B4

HEX: #DEF2B4
RGB: (222,242,180)

Color info

#DEF2B4 contains mainly red and green colors. Web safe color of #DEF2B4 is #CCFFCC (or #CFC).

RGB color model

#DEF2B4 color RGB value is (222,242,180).

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

RGB channels and saturation

R 222 of 255 = 87%
G 242 of 255 = 95%
B 180 of 255 = 71%

222
242
180

R + G + B ~ 84%. #DEF2B4 is quite light color.

Portions of RGB colors in percentages

R + G + B =
222 + 242 + 180 = 644 (100%)
R 222 of 644 ~ 34.47%
G 242 of 644 ~ 37.58%
B 180 of 644 ~ 27.95%

%34.47
%37.58
%27.95

CMYK color model

#DEF2B4 color CMYK value is (8,0,26,5).

  • cyan value is 8.26%
  • magenta value is 0.00%
  • yellow value is 25.62%
  • key color value is 5.10%
CMYK:
(8,0,26,5)
C8M0Y26K5 
(8%,0%,26%,5%)
(0.08/0.00/0.26/0.05)	

CMYK percentages

%8.26
%0
%25.62
%5.1

Codes

Color #DEF2B4 in popluar color models

DEF2B4
RGB222242180
HSL79°70.45%82.75%
HSB/HSV79°25.62%94.90%
CMYK8.26%0.00%25.62%
5.10%

Color #DEF2B4 in popluar number systems.

HEXDEF2B4
Decimal222242180
Binary110111101111001010110100
Octal336362264

Shades and tints

Shades of #DEF2B4

#DEF2B4
(222,242,180)
#CADCA4
(202,220,164)
#B6C694
(182,198,148)
#A2B084
(162,176,132)
#8E9A74
(142,154,116)
#7A8464
(122,132,100)
#666E54
(102,110,84)
#525844
(82,88,68)
#3E4234
(62,66,52)
#2A2C24
(42,44,36)
#161614
(22,22,20)
#000000
(0,0,0)

Tints of #DEF2B4

#DEF2B4
(222,242,180)
#E1F3BA
(225,243,186)
#E4F4C0
(228,244,192)
#E7F5C6
(231,245,198)
#EAF6CC
(234,246,204)
#EDF7D2
(237,247,210)
#F0F8D8
(240,248,216)
#F3F9DE
(243,249,222)
#F6FAE4
(246,250,228)
#F9FBEA
(249,251,234)
#FCFCF0
(252,252,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #DEF2B4; }

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

This text font color is #DEF2B4.


Background Color

.myBgColor { background-color: #DEF2B4; }

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

This div background color is #DEF2B4.


Border color

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

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

This div border color is #DEF2B4.


Opacity

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

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

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

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

This text has shadow with #DEF2B4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEF2B4 on black background.


Color preview on white background

This text has color #DEF2B4 on white background.



Black color preview on #DEF2B4 background

This text has black color on #DEF2B4 background.


White color preview on #DEF2B4 background

This text has white color on #DEF2B4 background.