COLOR #D8D8A1

HEX: #D8D8A1
RGB: (216,216,161)

Color info

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

RGB color model

#D8D8A1 color RGB value is (216,216,161).

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

RGB channels and saturation

R 216 of 255 = 85%
G 216 of 255 = 85%
B 161 of 255 = 63%

216
216
161

R + G + B ~ 78%. #D8D8A1 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 216 + 161 = 593 (100%)
R 216 of 593 ~ 36.42%
G 216 of 593 ~ 36.42%
B 161 of 593 ~ 27.15%

%36.42
%36.42
%27.15

CMYK color model

#D8D8A1 color CMYK value is (0,0,25,15).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 25.46%
  • key color value is 15.29%
CMYK:
(0,0,25,15)
C0M0Y25K15 
(0%,0%,25%,15%)
(0.00/0.00/0.25/0.15)	

CMYK percentages

%0
%0
%25.46
%15.29

Codes

Color #D8D8A1 in popluar color models

D8D8A1
RGB216216161
HSL60°41.35%73.92%
HSB/HSV60°25.46%84.71%
CMYK0.00%0.00%25.46%
15.29%

Color #D8D8A1 in popluar number systems.

HEXD8D8A1
Decimal216216161
Binary110110001101100010100001
Octal330330241

Shades and tints

Shades of #D8D8A1

#D8D8A1
(216,216,161)
#C5C593
(197,197,147)
#B2B285
(178,178,133)
#9F9F77
(159,159,119)
#8C8C69
(140,140,105)
#79795B
(121,121,91)
#66664D
(102,102,77)
#53533F
(83,83,63)
#404031
(64,64,49)
#2D2D23
(45,45,35)
#1A1A15
(26,26,21)
#000000
(0,0,0)

Tints of #D8D8A1

#D8D8A1
(216,216,161)
#DBDBA9
(219,219,169)
#DEDEB1
(222,222,177)
#E1E1B9
(225,225,185)
#E4E4C1
(228,228,193)
#E7E7C9
(231,231,201)
#EAEAD1
(234,234,209)
#EDEDD9
(237,237,217)
#F0F0E1
(240,240,225)
#F3F3E9
(243,243,233)
#F6F6F1
(246,246,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D8A1; }

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

This text font color is #D8D8A1.


Background Color

.myBgColor { background-color: #D8D8A1; }

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

This div background color is #D8D8A1.


Border color

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

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

This div border color is #D8D8A1.


Opacity

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

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

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

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

This text has shadow with #D8D8A1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D8A1 on black background.


Color preview on white background

This text has color #D8D8A1 on white background.



Black color preview on #D8D8A1 background

This text has black color on #D8D8A1 background.


White color preview on #D8D8A1 background

This text has white color on #D8D8A1 background.