COLOR #D7F2A8

HEX: #D7F2A8 RGB: (215,242,168)

Color info

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

RGB color model

#D7F2A8 color RGB value is (215,242,168).

RGB: (215,242,168) (84%, 95%, 66%)

RGB channels and saturation

R 215 of 255 = 84%
G 242 of 255 = 95%
B 168 of 255 = 66%

215
242
168

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

Portions of RGB colors in percentages

R + G + B = 215 + 242 + 168 = 625 (100%)
R 215 of 625 ~ 34.4%
G 242 of 625 ~ 38.72%
B 168 of 625 ~ 26.88'%

%34.4
%38.72
%26.88

CMYK color model

#D7F2A8 color CMYK value is (11,0,31,5).

  • cyan value is 11.16%
  • magenta value is 0.00%
  • yellow value is 30.58%
  • key color value is 5.10%

CMYK: (11,0,31,5)
C11M0Y31K5 (11%, 0%, 31%, 5%)
(0.11 / 0.00 / 0.31 / 0.05)

CMYK percentages

%11.16
%0
%30.58
%5.1

Codes

Color #D7F2A8 in popluar color models

D7 F2 A8
RGB 215 242 168
HSL 82° 74.00% 80.39%
HSB/HSV 82° 30.58% 94.90%
CMYK 11.16% 0.00% 30.58%
5.10%

Color #D7F2A8 in popluar number systems.

HEX D7 F2 A8
Decimal 215 242 168
Binary 11010111 11110010 10101000
Octal 327 362 250

Shades and tints

Shades of #D7F2A8

#D7F2A8
(215,242,168)
#C4DC99
(196,220,153)
#B1C68A
(177,198,138)
#9EB07B
(158,176,123)
#8B9A6C
(139,154,108)
#78845D
(120,132,93)
#656E4E
(101,110,78)
#52583F
(82,88,63)
#3F4230
(63,66,48)
#2C2C21
(44,44,33)
#191612
(25,22,18)
#000000
(0,0,0)

Tints of #D7F2A8

#D7F2A8
(215,242,168)
#DAF3AF
(218,243,175)
#DDF4B6
(221,244,182)
#E0F5BD
(224,245,189)
#E3F6C4
(227,246,196)
#E6F7CB
(230,247,203)
#E9F8D2
(233,248,210)
#ECF9D9
(236,249,217)
#EFFAE0
(239,250,224)
#F2FBE7
(242,251,231)
#F5FCEE
(245,252,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D7F2A8 color. Also use rgb(215,242,168) instead hex code.

Text Font Color

.myTextColor { color: #D7F2A8; }

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

This text font color is #D7F2A8.

Background Color

.myBgColor { background-color: #D7F2A8; }

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

This div background color is #D7F2A8.

Border color

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

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

This div border color is #D7F2A8.

Opacity

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

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

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

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

This text has shadow with #D7F2A8 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D7F2A8.

Preview

Color preview on black background

This text has color #D7F2A8 on black background.


Color preview on white background

This text has color #D7F2A8 on white background.


Black color preview on #D7F2A8 background

This text has black color on #D7F2A8 background.


White color preview on #D7F2A8 background

This text has white color on #D7F2A8 background.


Related colors

Complementary color

Complementary color for #hex is #280D57.


I love getcolorcode.com

Triadic colors

1 #A8D7F2 and #F2A8D7 with #D7F2A8 are triadic colors.

2 #A8F2D7 and #F2D7A8 with #D7F2A8 are triadic colors.