COLOR #D2C987

HEX: #D2C987
RGB: (210,201,135)

Color info

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

RGB color model

#D2C987 color RGB value is (210,201,135).

  • red value is 210;
  • green value is 201;
  • blue value is 135.
RGB:
(210,201,135)
(82%,79%,53%)

RGB channels and saturation

R 210 of 255 = 82%
G 201 of 255 = 79%
B 135 of 255 = 53%

210
201
135

R + G + B ~ 71%. #D2C987 is quite light color.

Portions of RGB colors in percentages

R + G + B =
210 + 201 + 135 = 546 (100%)
R 210 of 546 ~ 38.46%
G 201 of 546 ~ 36.81%
B 135 of 546 ~ 24.73%

%38.46
%36.81
%24.73

CMYK color model

#D2C987 color CMYK value is (0,4,36,18).

  • cyan value is 0.00%
  • magenta value is 4.29%
  • yellow value is 35.71%
  • key color value is 17.65%
CMYK:
(0,4,36,18)
C0M4Y36K18 
(0%,4%,36%,18%)
(0.00/0.04/0.36/0.18)	

CMYK percentages

%0
%4.29
%35.71
%17.65

Codes

Color #D2C987 in popluar color models

D2C987
RGB210201135
HSL53°45.45%67.65%
HSB/HSV53°35.71%82.35%
CMYK0.00%4.29%35.71%
17.65%

Color #D2C987 in popluar number systems.

HEXD2C987
Decimal210201135
Binary110100101100100110000111
Octal322311207

Shades and tints

Shades of #D2C987

#D2C987
(210,201,135)
#BFB77B
(191,183,123)
#ACA56F
(172,165,111)
#999363
(153,147,99)
#868157
(134,129,87)
#736F4B
(115,111,75)
#605D3F
(96,93,63)
#4D4B33
(77,75,51)
#3A3927
(58,57,39)
#27271B
(39,39,27)
#14150F
(20,21,15)
#000000
(0,0,0)

Tints of #D2C987

#D2C987
(210,201,135)
#D6CD91
(214,205,145)
#DAD19B
(218,209,155)
#DED5A5
(222,213,165)
#E2D9AF
(226,217,175)
#E6DDB9
(230,221,185)
#EAE1C3
(234,225,195)
#EEE5CD
(238,229,205)
#F2E9D7
(242,233,215)
#F6EDE1
(246,237,225)
#FAF1EB
(250,241,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D2C987 color. Also use rgb(210,201,135) instead hex code.

Text Font Color

.myTextColor { color: #D2C987; }

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

This text font color is #D2C987.


Background Color

.myBgColor { background-color: #D2C987; }

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

This div background color is #D2C987.


Border color

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

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

This div border color is #D2C987.


Opacity

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

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

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

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

This text has shadow with #D2C987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2C987 on black background.


Color preview on white background

This text has color #D2C987 on white background.



Black color preview on #D2C987 background

This text has black color on #D2C987 background.


White color preview on #D2C987 background

This text has white color on #D2C987 background.