COLOR #D8CC7F

HEX: #D8CC7F
RGB: (216,204,127)

Color info

#D8CC7F contains mainly red and green colors. Web safe color of #D8CC7F is #CCCC66 (or #CC6).

RGB color model

#D8CC7F color RGB value is (216,204,127).

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

RGB channels and saturation

R 216 of 255 = 85%
G 204 of 255 = 80%
B 127 of 255 = 50%

216
204
127

R + G + B ~ 72%. #D8CC7F is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 204 + 127 = 547 (100%)
R 216 of 547 ~ 39.49%
G 204 of 547 ~ 37.29%
B 127 of 547 ~ 23.22%

%39.49
%37.29
%23.22

CMYK color model

#D8CC7F color CMYK value is (0,6,41,15).

  • cyan value is 0.00%
  • magenta value is 5.56%
  • yellow value is 41.20%
  • key color value is 15.29%
CMYK:
(0,6,41,15)
C0M6Y41K15 
(0%,6%,41%,15%)
(0.00/0.06/0.41/0.15)	

CMYK percentages

%0
%5.56
%41.2
%15.29

Codes

Color #D8CC7F in popluar color models

D8CC7F
RGB216204127
HSL52°53.29%67.25%
HSB/HSV52°41.20%84.71%
CMYK0.00%5.56%41.20%
15.29%

Color #D8CC7F in popluar number systems.

HEXD8CC7F
Decimal216204127
Binary11011000110011001111111
Octal330314177

Shades and tints

Shades of #D8CC7F

#D8CC7F
(216,204,127)
#C5BA74
(197,186,116)
#B2A869
(178,168,105)
#9F965E
(159,150,94)
#8C8453
(140,132,83)
#797248
(121,114,72)
#66603D
(102,96,61)
#534E32
(83,78,50)
#403C27
(64,60,39)
#2D2A1C
(45,42,28)
#1A1811
(26,24,17)
#000000
(0,0,0)

Tints of #D8CC7F

#D8CC7F
(216,204,127)
#DBD08A
(219,208,138)
#DED495
(222,212,149)
#E1D8A0
(225,216,160)
#E4DCAB
(228,220,171)
#E7E0B6
(231,224,182)
#EAE4C1
(234,228,193)
#EDE8CC
(237,232,204)
#F0ECD7
(240,236,215)
#F3F0E2
(243,240,226)
#F6F4ED
(246,244,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8CC7F; }

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

This text font color is #D8CC7F.


Background Color

.myBgColor { background-color: #D8CC7F; }

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

This div background color is #D8CC7F.


Border color

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

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

This div border color is #D8CC7F.


Opacity

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

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

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

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

This text has shadow with #D8CC7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CC7F on black background.


Color preview on white background

This text has color #D8CC7F on white background.



Black color preview on #D8CC7F background

This text has black color on #D8CC7F background.


White color preview on #D8CC7F background

This text has white color on #D8CC7F background.