COLOR #DEF0B4

HEX: #DEF0B4
RGB: (222,240,180)

Color info

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

RGB color model

#DEF0B4 color RGB value is (222,240,180).

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

RGB channels and saturation

R 222 of 255 = 87%
G 240 of 255 = 94%
B 180 of 255 = 71%

222
240
180

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

Portions of RGB colors in percentages

R + G + B =
222 + 240 + 180 = 642 (100%)
R 222 of 642 ~ 34.58%
G 240 of 642 ~ 37.38%
B 180 of 642 ~ 28.04%

%34.58
%37.38
%28.04

CMYK color model

#DEF0B4 color CMYK value is (8,0,25,6).

  • cyan value is 7.50%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 5.88%
CMYK:
(8,0,25,6)
C8M0Y25K6 
(8%,0%,25%,6%)
(0.08/0.00/0.25/0.06)	

CMYK percentages

%7.5
%0
%25
%5.88

Codes

Color #DEF0B4 in popluar color models

DEF0B4
RGB222240180
HSL78°66.67%82.35%
HSB/HSV78°25.00%94.12%
CMYK7.50%0.00%25.00%
5.88%

Color #DEF0B4 in popluar number systems.

HEXDEF0B4
Decimal222240180
Binary110111101111000010110100
Octal336360264

Shades and tints

Shades of #DEF0B4

#DEF0B4
(222,240,180)
#CADBA4
(202,219,164)
#B6C694
(182,198,148)
#A2B184
(162,177,132)
#8E9C74
(142,156,116)
#7A8764
(122,135,100)
#667254
(102,114,84)
#525D44
(82,93,68)
#3E4834
(62,72,52)
#2A3324
(42,51,36)
#161E14
(22,30,20)
#000000
(0,0,0)

Tints of #DEF0B4

#DEF0B4
(222,240,180)
#E1F1BA
(225,241,186)
#E4F2C0
(228,242,192)
#E7F3C6
(231,243,198)
#EAF4CC
(234,244,204)
#EDF5D2
(237,245,210)
#F0F6D8
(240,246,216)
#F3F7DE
(243,247,222)
#F6F8E4
(246,248,228)
#F9F9EA
(249,249,234)
#FCFAF0
(252,250,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #DEF0B4; }

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

This text font color is #DEF0B4.


Background Color

.myBgColor { background-color: #DEF0B4; }

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

This div background color is #DEF0B4.


Border color

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

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

This div border color is #DEF0B4.


Opacity

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

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

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

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

This text has shadow with #DEF0B4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEF0B4 on black background.


Color preview on white background

This text has color #DEF0B4 on white background.



Black color preview on #DEF0B4 background

This text has black color on #DEF0B4 background.


White color preview on #DEF0B4 background

This text has white color on #DEF0B4 background.