COLOR #D8C28C

HEX: #D8C28C RGB: (216,194,140)

Color info

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

RGB color model

#D8C28C color RGB value is (216,194,140).

RGB: (216,194,140) (85%, 76%, 55%)

RGB channels and saturation

R 216 of 255 = 85%
G 194 of 255 = 76%
B 140 of 255 = 55%

216
194
140

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

Portions of RGB colors in percentages

R + G + B = 216 + 194 + 140 = 550 (100%)
R 216 of 550 ~ 39.27%
G 194 of 550 ~ 35.27%
B 140 of 550 ~ 25.45'%

%39.27
%35.27
%25.45

CMYK color model

#D8C28C color CMYK value is (0,10,35,15).

  • cyan value is 0.00%
  • magenta value is 10.19%
  • yellow value is 35.19%
  • key color value is 15.29%
CMYK: (0,10,35,15) C0M10Y35K15 (0%,10%,35%,15%) (0.00/0.10/0.35/0.15) 

CMYK percentages

%0
%10.19
%35.19
%15.29

Codes

Color #D8C28C in popluar color models

D8 C2 8C
RGB 216 194 140
HSL 43° 49.35% 69.80%
HSB/HSV 43° 35.19% 84.71%
CMYK 0.00% 10.19% 35.19%
15.29%

Color #D8C28C in popluar number systems.

HEX D8 C2 8C
Decimal 216 194 140
Binary 11011000 11000010 10001100
Octal 330 302 214

Shades and tints

Shades of #D8C28C

#D8C28C
(216,194,140)
#C5B180
(197,177,128)
#B2A074
(178,160,116)
#9F8F68
(159,143,104)
#8C7E5C
(140,126,92)
#796D50
(121,109,80)
#665C44
(102,92,68)
#534B38
(83,75,56)
#403A2C
(64,58,44)
#2D2920
(45,41,32)
#1A1814
(26,24,20)
#000000
(0,0,0)

Tints of #D8C28C

#D8C28C
(216,194,140)
#DBC796
(219,199,150)
#DECCA0
(222,204,160)
#E1D1AA
(225,209,170)
#E4D6B4
(228,214,180)
#E7DBBE
(231,219,190)
#EAE0C8
(234,224,200)
#EDE5D2
(237,229,210)
#F0EADC
(240,234,220)
#F3EFE6
(243,239,230)
#F6F4F0
(246,244,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C28C; }

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

This text font color is #D8C28C.

Background Color

.myBgColor { background-color: #D8C28C; }

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

This div background color is #D8C28C.

Border color

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

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

This div border color is #D8C28C.

Opacity

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

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

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

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

This text has shadow with #D8C28C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8C28C.

Preview

Color preview on black background

This text has color #D8C28C on black background.


Color preview on white background

This text has color #D8C28C on white background.


Black color preview on #D8C28C background

This text has black color on #D8C28C background.


White color preview on #D8C28C background

This text has white color on #D8C28C background.


Related colors

Complementary color

Complementary color for #hex is #273D73.


I love getcolorcode.com

Triadic colors

1 #8CD8C2 and #C28CD8 with #D8C28C are triadic colors.

2 #8CC2D8 and #C2D88C with #D8C28C are triadic colors.