COLOR #D5C97F

HEX: #D5C97F
RGB: (213,201,127)

Color info

#D5C97F contains mainly red and green colors. Web safe color of #D5C97F is #CCCC66 (or #CC6).

RGB color model

#D5C97F color RGB value is (213,201,127).

  • red value is 213;
  • green value is 201;
  • blue value is 127.
RGB:
(213,201,127)
(84%,79%,50%)

RGB channels and saturation

R 213 of 255 = 84%
G 201 of 255 = 79%
B 127 of 255 = 50%

213
201
127

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

Portions of RGB colors in percentages

R + G + B =
213 + 201 + 127 = 541 (100%)
R 213 of 541 ~ 39.37%
G 201 of 541 ~ 37.15%
B 127 of 541 ~ 23.48%

%39.37
%37.15
%23.48

CMYK color model

#D5C97F color CMYK value is (0,6,40,16).

  • cyan value is 0.00%
  • magenta value is 5.63%
  • yellow value is 40.38%
  • key color value is 16.47%
CMYK:
(0,6,40,16)
C0M6Y40K16 
(0%,6%,40%,16%)
(0.00/0.06/0.40/0.16)	

CMYK percentages

%0
%5.63
%40.38
%16.47

Codes

Color #D5C97F in popluar color models

D5C97F
RGB213201127
HSL52°50.59%66.67%
HSB/HSV52°40.38%83.53%
CMYK0.00%5.63%40.38%
16.47%

Color #D5C97F in popluar number systems.

HEXD5C97F
Decimal213201127
Binary11010101110010011111111
Octal325311177

Shades and tints

Shades of #D5C97F

#D5C97F
(213,201,127)
#C2B774
(194,183,116)
#AFA569
(175,165,105)
#9C935E
(156,147,94)
#898153
(137,129,83)
#766F48
(118,111,72)
#635D3D
(99,93,61)
#504B32
(80,75,50)
#3D3927
(61,57,39)
#2A271C
(42,39,28)
#171511
(23,21,17)
#000000
(0,0,0)

Tints of #D5C97F

#D5C97F
(213,201,127)
#D8CD8A
(216,205,138)
#DBD195
(219,209,149)
#DED5A0
(222,213,160)
#E1D9AB
(225,217,171)
#E4DDB6
(228,221,182)
#E7E1C1
(231,225,193)
#EAE5CC
(234,229,204)
#EDE9D7
(237,233,215)
#F0EDE2
(240,237,226)
#F3F1ED
(243,241,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D5C97F color. Also use rgb(213,201,127) instead hex code.

Text Font Color

.myTextColor { color: #D5C97F; }

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

This text font color is #D5C97F.


Background Color

.myBgColor { background-color: #D5C97F; }

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

This div background color is #D5C97F.


Border color

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

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

This div border color is #D5C97F.


Opacity

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

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

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

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

This text has shadow with #D5C97F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D5C97F on black background.


Color preview on white background

This text has color #D5C97F on white background.



Black color preview on #D5C97F background

This text has black color on #D5C97F background.


White color preview on #D5C97F background

This text has white color on #D5C97F background.