COLOR #D4D795

HEX: #D4D795
RGB: (212,215,149)

Color info

#D4D795 contains mainly red and green colors. Web safe color of #D4D795 is #CCCC99 (or #CC9).

RGB color model

#D4D795 color RGB value is (212,215,149).

  • red value is 212;
  • green value is 215;
  • blue value is 149.
RGB:
(212,215,149)
(83%,84%,58%)

RGB channels and saturation

R 212 of 255 = 83%
G 215 of 255 = 84%
B 149 of 255 = 58%

212
215
149

R + G + B ~ 75%. #D4D795 is quite light color.

Portions of RGB colors in percentages

R + G + B =
212 + 215 + 149 = 576 (100%)
R 212 of 576 ~ 36.81%
G 215 of 576 ~ 37.33%
B 149 of 576 ~ 25.87%

%36.81
%37.33
%25.87

CMYK color model

#D4D795 color CMYK value is (1,0,31,16).

  • cyan value is 1.40%
  • magenta value is 0.00%
  • yellow value is 30.70%
  • key color value is 15.69%
CMYK:
(1,0,31,16)
C1M0Y31K16 
(1%,0%,31%,16%)
(0.01/0.00/0.31/0.16)	

CMYK percentages

%1.4
%0
%30.7
%15.69

Codes

Color #D4D795 in popluar color models

D4D795
RGB212215149
HSL63°45.21%71.37%
HSB/HSV63°30.70%84.31%
CMYK1.40%0.00%30.70%
15.69%

Color #D4D795 in popluar number systems.

HEXD4D795
Decimal212215149
Binary110101001101011110010101
Octal324327225

Shades and tints

Shades of #D4D795

#D4D795
(212,215,149)
#C1C488
(193,196,136)
#AEB17B
(174,177,123)
#9B9E6E
(155,158,110)
#888B61
(136,139,97)
#757854
(117,120,84)
#626547
(98,101,71)
#4F523A
(79,82,58)
#3C3F2D
(60,63,45)
#292C20
(41,44,32)
#161913
(22,25,19)
#000000
(0,0,0)

Tints of #D4D795

#D4D795
(212,215,149)
#D7DA9E
(215,218,158)
#DADDA7
(218,221,167)
#DDE0B0
(221,224,176)
#E0E3B9
(224,227,185)
#E3E6C2
(227,230,194)
#E6E9CB
(230,233,203)
#E9ECD4
(233,236,212)
#ECEFDD
(236,239,221)
#EFF2E6
(239,242,230)
#F2F5EF
(242,245,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4D795 color. Also use rgb(212,215,149) instead hex code.

Text Font Color

.myTextColor { color: #D4D795; }

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

This text font color is #D4D795.


Background Color

.myBgColor { background-color: #D4D795; }

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

This div background color is #D4D795.


Border color

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

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

This div border color is #D4D795.


Opacity

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

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

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

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

This text has shadow with #D4D795 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4D795 on black background.


Color preview on white background

This text has color #D4D795 on white background.



Black color preview on #D4D795 background

This text has black color on #D4D795 background.


White color preview on #D4D795 background

This text has white color on #D4D795 background.