COLOR #D8C6A8

HEX: #D8C6A8
RGB: (216,198,168)

Color info

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

RGB color model

#D8C6A8 color RGB value is (216,198,168).

  • red value is 216;
  • green value is 198;
  • blue value is 168.
RGB:
(216,198,168)
(85%,78%,66%)

RGB channels and saturation

R 216 of 255 = 85%
G 198 of 255 = 78%
B 168 of 255 = 66%

216
198
168

R + G + B ~ 76%. #D8C6A8 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 198 + 168 = 582 (100%)
R 216 of 582 ~ 37.11%
G 198 of 582 ~ 34.02%
B 168 of 582 ~ 28.87%

%37.11
%34.02
%28.87

CMYK color model

#D8C6A8 color CMYK value is (0,8,22,15).

  • cyan value is 0.00%
  • magenta value is 8.33%
  • yellow value is 22.22%
  • key color value is 15.29%
CMYK:
(0,8,22,15)
C0M8Y22K15 
(0%,8%,22%,15%)
(0.00/0.08/0.22/0.15)	

CMYK percentages

%0
%8.33
%22.22
%15.29

Codes

Color #D8C6A8 in popluar color models

D8C6A8
RGB216198168
HSL38°38.10%75.29%
HSB/HSV38°22.22%84.71%
CMYK0.00%8.33%22.22%
15.29%

Color #D8C6A8 in popluar number systems.

HEXD8C6A8
Decimal216198168
Binary110110001100011010101000
Octal330306250

Shades and tints

Shades of #D8C6A8

#D8C6A8
(216,198,168)
#C5B499
(197,180,153)
#B2A28A
(178,162,138)
#9F907B
(159,144,123)
#8C7E6C
(140,126,108)
#796C5D
(121,108,93)
#665A4E
(102,90,78)
#53483F
(83,72,63)
#403630
(64,54,48)
#2D2421
(45,36,33)
#1A1212
(26,18,18)
#000000
(0,0,0)

Tints of #D8C6A8

#D8C6A8
(216,198,168)
#DBCBAF
(219,203,175)
#DED0B6
(222,208,182)
#E1D5BD
(225,213,189)
#E4DAC4
(228,218,196)
#E7DFCB
(231,223,203)
#EAE4D2
(234,228,210)
#EDE9D9
(237,233,217)
#F0EEE0
(240,238,224)
#F3F3E7
(243,243,231)
#F6F8EE
(246,248,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C6A8; }

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

This text font color is #D8C6A8.


Background Color

.myBgColor { background-color: #D8C6A8; }

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

This div background color is #D8C6A8.


Border color

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

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

This div border color is #D8C6A8.


Opacity

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

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

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

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

This text has shadow with #D8C6A8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C6A8 on black background.


Color preview on white background

This text has color #D8C6A8 on white background.



Black color preview on #D8C6A8 background

This text has black color on #D8C6A8 background.


White color preview on #D8C6A8 background

This text has white color on #D8C6A8 background.