COLOR #D2C397

HEX: #D2C397
RGB: (210,195,151)

Color info

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

RGB color model

#D2C397 color RGB value is (210,195,151).

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

RGB channels and saturation

R 210 of 255 = 82%
G 195 of 255 = 76%
B 151 of 255 = 59%

210
195
151

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

Portions of RGB colors in percentages

R + G + B =
210 + 195 + 151 = 556 (100%)
R 210 of 556 ~ 37.77%
G 195 of 556 ~ 35.07%
B 151 of 556 ~ 27.16%

%37.77
%35.07
%27.16

CMYK color model

#D2C397 color CMYK value is (0,7,28,18).

  • cyan value is 0.00%
  • magenta value is 7.14%
  • yellow value is 28.10%
  • key color value is 17.65%
CMYK:
(0,7,28,18)
C0M7Y28K18 
(0%,7%,28%,18%)
(0.00/0.07/0.28/0.18)	

CMYK percentages

%0
%7.14
%28.1
%17.65

Codes

Color #D2C397 in popluar color models

D2C397
RGB210195151
HSL45°39.60%70.78%
HSB/HSV45°28.10%82.35%
CMYK0.00%7.14%28.10%
17.65%

Color #D2C397 in popluar number systems.

HEXD2C397
Decimal210195151
Binary110100101100001110010111
Octal322303227

Shades and tints

Shades of #D2C397

#D2C397
(210,195,151)
#BFB28A
(191,178,138)
#ACA17D
(172,161,125)
#999070
(153,144,112)
#867F63
(134,127,99)
#736E56
(115,110,86)
#605D49
(96,93,73)
#4D4C3C
(77,76,60)
#3A3B2F
(58,59,47)
#272A22
(39,42,34)
#141915
(20,25,21)
#000000
(0,0,0)

Tints of #D2C397

#D2C397
(210,195,151)
#D6C8A0
(214,200,160)
#DACDA9
(218,205,169)
#DED2B2
(222,210,178)
#E2D7BB
(226,215,187)
#E6DCC4
(230,220,196)
#EAE1CD
(234,225,205)
#EEE6D6
(238,230,214)
#F2EBDF
(242,235,223)
#F6F0E8
(246,240,232)
#FAF5F1
(250,245,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D2C397; }

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

This text font color is #D2C397.


Background Color

.myBgColor { background-color: #D2C397; }

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

This div background color is #D2C397.


Border color

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

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

This div border color is #D2C397.


Opacity

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

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

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

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

This text has shadow with #D2C397 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2C397 on black background.


Color preview on white background

This text has color #D2C397 on white background.



Black color preview on #D2C397 background

This text has black color on #D2C397 background.


White color preview on #D2C397 background

This text has white color on #D2C397 background.