COLOR #D4F7A6

HEX: #D4F7A6
RGB: (212,247,166)

Color info

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

RGB color model

#D4F7A6 color RGB value is (212,247,166).

  • red value is 212;
  • green value is 247;
  • blue value is 166.
RGB:
(212,247,166)
(83%,97%,65%)

RGB channels and saturation

R 212 of 255 = 83%
G 247 of 255 = 97%
B 166 of 255 = 65%

212
247
166

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

Portions of RGB colors in percentages

R + G + B =
212 + 247 + 166 = 625 (100%)
R 212 of 625 ~ 33.92%
G 247 of 625 ~ 39.52%
B 166 of 625 ~ 26.56%

%33.92
%39.52
%26.56

CMYK color model

#D4F7A6 color CMYK value is (14,0,33,3).

  • cyan value is 14.17%
  • magenta value is 0.00%
  • yellow value is 32.79%
  • key color value is 3.14%
CMYK:
(14,0,33,3)
C14M0Y33K3 
(14%,0%,33%,3%)
(0.14/0.00/0.33/0.03)	

CMYK percentages

%14.17
%0
%32.79
%3.14

Codes

Color #D4F7A6 in popluar color models

D4F7A6
RGB212247166
HSL86°83.51%80.98%
HSB/HSV86°32.79%96.86%
CMYK14.17%0.00%32.79%
3.14%

Color #D4F7A6 in popluar number systems.

HEXD4F7A6
Decimal212247166
Binary110101001111011110100110
Octal324367246

Shades and tints

Shades of #D4F7A6

#D4F7A6
(212,247,166)
#C1E197
(193,225,151)
#AECB88
(174,203,136)
#9BB579
(155,181,121)
#889F6A
(136,159,106)
#75895B
(117,137,91)
#62734C
(98,115,76)
#4F5D3D
(79,93,61)
#3C472E
(60,71,46)
#29311F
(41,49,31)
#161B10
(22,27,16)
#000000
(0,0,0)

Tints of #D4F7A6

#D4F7A6
(212,247,166)
#D7F7AE
(215,247,174)
#DAF7B6
(218,247,182)
#DDF7BE
(221,247,190)
#E0F7C6
(224,247,198)
#E3F7CE
(227,247,206)
#E6F7D6
(230,247,214)
#E9F7DE
(233,247,222)
#ECF7E6
(236,247,230)
#EFF7EE
(239,247,238)
#F2F7F6
(242,247,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4F7A6 color. Also use rgb(212,247,166) instead hex code.

Text Font Color

.myTextColor { color: #D4F7A6; }

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

This text font color is #D4F7A6.


Background Color

.myBgColor { background-color: #D4F7A6; }

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

This div background color is #D4F7A6.


Border color

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

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

This div border color is #D4F7A6.


Opacity

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

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

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

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

This text has shadow with #D4F7A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4F7A6 on black background.


Color preview on white background

This text has color #D4F7A6 on white background.



Black color preview on #D4F7A6 background

This text has black color on #D4F7A6 background.


White color preview on #D4F7A6 background

This text has white color on #D4F7A6 background.