COLOR #D4D8A5

HEX: #D4D8A5
RGB: (212,216,165)

Color info

#D4D8A5 contains red, green and blue colors in about the same proportion. Web safe color of #D4D8A5 is #CCCC99 (or #CC9).

RGB color model

#D4D8A5 color RGB value is (212,216,165).

  • red value is 212;
  • green value is 216;
  • blue value is 165.
RGB:
(212,216,165)
(83%,85%,65%)

RGB channels and saturation

R 212 of 255 = 83%
G 216 of 255 = 85%
B 165 of 255 = 65%

212
216
165

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

Portions of RGB colors in percentages

R + G + B =
212 + 216 + 165 = 593 (100%)
R 212 of 593 ~ 35.75%
G 216 of 593 ~ 36.42%
B 165 of 593 ~ 27.82%

%35.75
%36.42
%27.82

CMYK color model

#D4D8A5 color CMYK value is (2,0,24,15).

  • cyan value is 1.85%
  • magenta value is 0.00%
  • yellow value is 23.61%
  • key color value is 15.29%
CMYK:
(2,0,24,15)
C2M0Y24K15 
(2%,0%,24%,15%)
(0.02/0.00/0.24/0.15)	

CMYK percentages

%1.85
%0
%23.61
%15.29

Codes

Color #D4D8A5 in popluar color models

D4D8A5
RGB212216165
HSL65°39.53%74.71%
HSB/HSV65°23.61%84.71%
CMYK1.85%0.00%23.61%
15.29%

Color #D4D8A5 in popluar number systems.

HEXD4D8A5
Decimal212216165
Binary110101001101100010100101
Octal324330245

Shades and tints

Shades of #D4D8A5

#D4D8A5
(212,216,165)
#C1C596
(193,197,150)
#AEB287
(174,178,135)
#9B9F78
(155,159,120)
#888C69
(136,140,105)
#75795A
(117,121,90)
#62664B
(98,102,75)
#4F533C
(79,83,60)
#3C402D
(60,64,45)
#292D1E
(41,45,30)
#161A0F
(22,26,15)
#000000
(0,0,0)

Tints of #D4D8A5

#D4D8A5
(212,216,165)
#D7DBAD
(215,219,173)
#DADEB5
(218,222,181)
#DDE1BD
(221,225,189)
#E0E4C5
(224,228,197)
#E3E7CD
(227,231,205)
#E6EAD5
(230,234,213)
#E9EDDD
(233,237,221)
#ECF0E5
(236,240,229)
#EFF3ED
(239,243,237)
#F2F6F5
(242,246,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4D8A5 color. Also use rgb(212,216,165) instead hex code.

Text Font Color

.myTextColor { color: #D4D8A5; }

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

This text font color is #D4D8A5.


Background Color

.myBgColor { background-color: #D4D8A5; }

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

This div background color is #D4D8A5.


Border color

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

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

This div border color is #D4D8A5.


Opacity

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

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

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

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

This text has shadow with #D4D8A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4D8A5 on black background.


Color preview on white background

This text has color #D4D8A5 on white background.



Black color preview on #D4D8A5 background

This text has black color on #D4D8A5 background.


White color preview on #D4D8A5 background

This text has white color on #D4D8A5 background.