COLOR #D2C997

HEX: #D2C997
RGB: (210,201,151)

Color info

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

RGB color model

#D2C997 color RGB value is (210,201,151).

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

RGB channels and saturation

R 210 of 255 = 82%
G 201 of 255 = 79%
B 151 of 255 = 59%

210
201
151

R + G + B ~ 73%. #D2C997 is quite light color.

Portions of RGB colors in percentages

R + G + B =
210 + 201 + 151 = 562 (100%)
R 210 of 562 ~ 37.37%
G 201 of 562 ~ 35.77%
B 151 of 562 ~ 26.87%

%37.37
%35.77
%26.87

CMYK color model

#D2C997 color CMYK value is (0,4,28,18).

  • cyan value is 0.00%
  • magenta value is 4.29%
  • yellow value is 28.10%
  • key color value is 17.65%
CMYK:
(0,4,28,18)
C0M4Y28K18 
(0%,4%,28%,18%)
(0.00/0.04/0.28/0.18)	

CMYK percentages

%0
%4.29
%28.1
%17.65

Codes

Color #D2C997 in popluar color models

D2C997
RGB210201151
HSL51°39.60%70.78%
HSB/HSV51°28.10%82.35%
CMYK0.00%4.29%28.10%
17.65%

Color #D2C997 in popluar number systems.

HEXD2C997
Decimal210201151
Binary110100101100100110010111
Octal322311227

Shades and tints

Shades of #D2C997

#D2C997
(210,201,151)
#BFB78A
(191,183,138)
#ACA57D
(172,165,125)
#999370
(153,147,112)
#868163
(134,129,99)
#736F56
(115,111,86)
#605D49
(96,93,73)
#4D4B3C
(77,75,60)
#3A392F
(58,57,47)
#272722
(39,39,34)
#141515
(20,21,21)
#000000
(0,0,0)

Tints of #D2C997

#D2C997
(210,201,151)
#D6CDA0
(214,205,160)
#DAD1A9
(218,209,169)
#DED5B2
(222,213,178)
#E2D9BB
(226,217,187)
#E6DDC4
(230,221,196)
#EAE1CD
(234,225,205)
#EEE5D6
(238,229,214)
#F2E9DF
(242,233,223)
#F6EDE8
(246,237,232)
#FAF1F1
(250,241,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D2C997; }

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

This text font color is #D2C997.


Background Color

.myBgColor { background-color: #D2C997; }

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

This div background color is #D2C997.


Border color

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

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

This div border color is #D2C997.


Opacity

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

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

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

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

This text has shadow with #D2C997 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2C997 on black background.


Color preview on white background

This text has color #D2C997 on white background.



Black color preview on #D2C997 background

This text has black color on #D2C997 background.


White color preview on #D2C997 background

This text has white color on #D2C997 background.