COLOR #D8D8B9

HEX: #D8D8B9
RGB: (216,216,185)

Color info

#D8D8B9 contains red, green and blue colors in about the same proportion. Web safe color of #D8D8B9 is #CCCCCC (or #CCC).

RGB color model

#D8D8B9 color RGB value is (216,216,185).

  • red value is 216;
  • green value is 216;
  • blue value is 185.
RGB:
(216,216,185)
(85%,85%,73%)

RGB channels and saturation

R 216 of 255 = 85%
G 216 of 255 = 85%
B 185 of 255 = 73%

216
216
185

R + G + B ~ 81%. #D8D8B9 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 216 + 185 = 617 (100%)
R 216 of 617 ~ 35.01%
G 216 of 617 ~ 35.01%
B 185 of 617 ~ 29.98%

%35.01
%35.01
%29.98

CMYK color model

#D8D8B9 color CMYK value is (0,0,14,15).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 14.35%
  • key color value is 15.29%
CMYK:
(0,0,14,15)
C0M0Y14K15 
(0%,0%,14%,15%)
(0.00/0.00/0.14/0.15)	

CMYK percentages

%0
%0
%14.35
%15.29

Codes

Color #D8D8B9 in popluar color models

D8D8B9
RGB216216185
HSL60°28.44%78.63%
HSB/HSV60°14.35%84.71%
CMYK0.00%0.00%14.35%
15.29%

Color #D8D8B9 in popluar number systems.

HEXD8D8B9
Decimal216216185
Binary110110001101100010111001
Octal330330271

Shades and tints

Shades of #D8D8B9

#D8D8B9
(216,216,185)
#C5C5A9
(197,197,169)
#B2B299
(178,178,153)
#9F9F89
(159,159,137)
#8C8C79
(140,140,121)
#797969
(121,121,105)
#666659
(102,102,89)
#535349
(83,83,73)
#404039
(64,64,57)
#2D2D29
(45,45,41)
#1A1A19
(26,26,25)
#000000
(0,0,0)

Tints of #D8D8B9

#D8D8B9
(216,216,185)
#DBDBBF
(219,219,191)
#DEDEC5
(222,222,197)
#E1E1CB
(225,225,203)
#E4E4D1
(228,228,209)
#E7E7D7
(231,231,215)
#EAEADD
(234,234,221)
#EDEDE3
(237,237,227)
#F0F0E9
(240,240,233)
#F3F3EF
(243,243,239)
#F6F6F5
(246,246,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D8B9; }

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

This text font color is #D8D8B9.


Background Color

.myBgColor { background-color: #D8D8B9; }

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

This div background color is #D8D8B9.


Border color

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

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

This div border color is #D8D8B9.


Opacity

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

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

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

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

This text has shadow with #D8D8B9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D8B9 on black background.


Color preview on white background

This text has color #D8D8B9 on white background.



Black color preview on #D8D8B9 background

This text has black color on #D8D8B9 background.


White color preview on #D8D8B9 background

This text has white color on #D8D8B9 background.