COLOR #DEF381

HEX: #DEF381
RGB: (222,243,129)

Color info

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

RGB color model

#DEF381 color RGB value is (222,243,129).

  • red value is 222;
  • green value is 243;
  • blue value is 129.
RGB:
(222,243,129)
(87%,95%,51%)

RGB channels and saturation

R 222 of 255 = 87%
G 243 of 255 = 95%
B 129 of 255 = 51%

222
243
129

R + G + B ~ 78%. #DEF381 is quite light color.

Portions of RGB colors in percentages

R + G + B =
222 + 243 + 129 = 594 (100%)
R 222 of 594 ~ 37.37%
G 243 of 594 ~ 40.91%
B 129 of 594 ~ 21.72%

%37.37
%40.91
%21.72

CMYK color model

#DEF381 color CMYK value is (9,0,47,5).

  • cyan value is 8.64%
  • magenta value is 0.00%
  • yellow value is 46.91%
  • key color value is 4.71%
CMYK:
(9,0,47,5)
C9M0Y47K5 
(9%,0%,47%,5%)
(0.09/0.00/0.47/0.05)	

CMYK percentages

%8.64
%0
%46.91
%4.71

Codes

Color #DEF381 in popluar color models

DEF381
RGB222243129
HSL71°82.61%72.94%
HSB/HSV71°46.91%95.29%
CMYK8.64%0.00%46.91%
4.71%

Color #DEF381 in popluar number systems.

HEXDEF381
Decimal222243129
Binary110111101111001110000001
Octal336363201

Shades and tints

Shades of #DEF381

#DEF381
(222,243,129)
#CADD76
(202,221,118)
#B6C76B
(182,199,107)
#A2B160
(162,177,96)
#8E9B55
(142,155,85)
#7A854A
(122,133,74)
#666F3F
(102,111,63)
#525934
(82,89,52)
#3E4329
(62,67,41)
#2A2D1E
(42,45,30)
#161713
(22,23,19)
#000000
(0,0,0)

Tints of #DEF381

#DEF381
(222,243,129)
#E1F48C
(225,244,140)
#E4F597
(228,245,151)
#E7F6A2
(231,246,162)
#EAF7AD
(234,247,173)
#EDF8B8
(237,248,184)
#F0F9C3
(240,249,195)
#F3FACE
(243,250,206)
#F6FBD9
(246,251,217)
#F9FCE4
(249,252,228)
#FCFDEF
(252,253,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DEF381 color. Also use rgb(222,243,129) instead hex code.

Text Font Color

.myTextColor { color: #DEF381; }

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

This text font color is #DEF381.


Background Color

.myBgColor { background-color: #DEF381; }

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

This div background color is #DEF381.


Border color

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

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

This div border color is #DEF381.


Opacity

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

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

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

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

This text has shadow with #DEF381 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEF381 on black background.


Color preview on white background

This text has color #DEF381 on white background.



Black color preview on #DEF381 background

This text has black color on #DEF381 background.


White color preview on #DEF381 background

This text has white color on #DEF381 background.