COLOR #D8D8B8

HEX: #D8D8B8
RGB: (216,216,184)

Color info

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

RGB color model

#D8D8B8 color RGB value is (216,216,184).

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

RGB channels and saturation

R 216 of 255 = 85%
G 216 of 255 = 85%
B 184 of 255 = 72%

216
216
184

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

Portions of RGB colors in percentages

R + G + B =
216 + 216 + 184 = 616 (100%)
R 216 of 616 ~ 35.06%
G 216 of 616 ~ 35.06%
B 184 of 616 ~ 29.87%

%35.06
%35.06
%29.87

CMYK color model

#D8D8B8 color CMYK value is (0,0,15,15).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 14.81%
  • key color value is 15.29%
CMYK:
(0,0,15,15)
C0M0Y15K15 
(0%,0%,15%,15%)
(0.00/0.00/0.15/0.15)	

CMYK percentages

%0
%0
%14.81
%15.29

Codes

Color #D8D8B8 in popluar color models

D8D8B8
RGB216216184
HSL60°29.09%78.43%
HSB/HSV60°14.81%84.71%
CMYK0.00%0.00%14.81%
15.29%

Color #D8D8B8 in popluar number systems.

HEXD8D8B8
Decimal216216184
Binary110110001101100010111000
Octal330330270

Shades and tints

Shades of #D8D8B8

#D8D8B8
(216,216,184)
#C5C5A8
(197,197,168)
#B2B298
(178,178,152)
#9F9F88
(159,159,136)
#8C8C78
(140,140,120)
#797968
(121,121,104)
#666658
(102,102,88)
#535348
(83,83,72)
#404038
(64,64,56)
#2D2D28
(45,45,40)
#1A1A18
(26,26,24)
#000000
(0,0,0)

Tints of #D8D8B8

#D8D8B8
(216,216,184)
#DBDBBE
(219,219,190)
#DEDEC4
(222,222,196)
#E1E1CA
(225,225,202)
#E4E4D0
(228,228,208)
#E7E7D6
(231,231,214)
#EAEADC
(234,234,220)
#EDEDE2
(237,237,226)
#F0F0E8
(240,240,232)
#F3F3EE
(243,243,238)
#F6F6F4
(246,246,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D8B8; }

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

This text font color is #D8D8B8.


Background Color

.myBgColor { background-color: #D8D8B8; }

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

This div background color is #D8D8B8.


Border color

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

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

This div border color is #D8D8B8.


Opacity

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

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

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

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

This text has shadow with #D8D8B8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D8B8 on black background.


Color preview on white background

This text has color #D8D8B8 on white background.



Black color preview on #D8D8B8 background

This text has black color on #D8D8B8 background.


White color preview on #D8D8B8 background

This text has white color on #D8D8B8 background.