COLOR #D8CC8F

HEX: #D8CC8F
RGB: (216,204,143)

Color info

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

RGB color model

#D8CC8F color RGB value is (216,204,143).

  • red value is 216;
  • green value is 204;
  • blue value is 143.
RGB:
(216,204,143)
(85%,80%,56%)

RGB channels and saturation

R 216 of 255 = 85%
G 204 of 255 = 80%
B 143 of 255 = 56%

216
204
143

R + G + B ~ 74%. #D8CC8F is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 204 + 143 = 563 (100%)
R 216 of 563 ~ 38.37%
G 204 of 563 ~ 36.23%
B 143 of 563 ~ 25.4%

%38.37
%36.23
%25.4

CMYK color model

#D8CC8F color CMYK value is (0,6,34,15).

  • cyan value is 0.00%
  • magenta value is 5.56%
  • yellow value is 33.80%
  • key color value is 15.29%
CMYK:
(0,6,34,15)
C0M6Y34K15 
(0%,6%,34%,15%)
(0.00/0.06/0.34/0.15)	

CMYK percentages

%0
%5.56
%33.8
%15.29

Codes

Color #D8CC8F in popluar color models

D8CC8F
RGB216204143
HSL50°48.34%70.39%
HSB/HSV50°33.80%84.71%
CMYK0.00%5.56%33.80%
15.29%

Color #D8CC8F in popluar number systems.

HEXD8CC8F
Decimal216204143
Binary110110001100110010001111
Octal330314217

Shades and tints

Shades of #D8CC8F

#D8CC8F
(216,204,143)
#C5BA82
(197,186,130)
#B2A875
(178,168,117)
#9F9668
(159,150,104)
#8C845B
(140,132,91)
#79724E
(121,114,78)
#666041
(102,96,65)
#534E34
(83,78,52)
#403C27
(64,60,39)
#2D2A1A
(45,42,26)
#1A180D
(26,24,13)
#000000
(0,0,0)

Tints of #D8CC8F

#D8CC8F
(216,204,143)
#DBD099
(219,208,153)
#DED4A3
(222,212,163)
#E1D8AD
(225,216,173)
#E4DCB7
(228,220,183)
#E7E0C1
(231,224,193)
#EAE4CB
(234,228,203)
#EDE8D5
(237,232,213)
#F0ECDF
(240,236,223)
#F3F0E9
(243,240,233)
#F6F4F3
(246,244,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8CC8F; }

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

This text font color is #D8CC8F.


Background Color

.myBgColor { background-color: #D8CC8F; }

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

This div background color is #D8CC8F.


Border color

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

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

This div border color is #D8CC8F.


Opacity

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

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

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

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

This text has shadow with #D8CC8F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CC8F on black background.


Color preview on white background

This text has color #D8CC8F on white background.



Black color preview on #D8CC8F background

This text has black color on #D8CC8F background.


White color preview on #D8CC8F background

This text has white color on #D8CC8F background.