COLOR #D5C798

HEX: #D5C798
RGB: (213,199,152)

Color info

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

RGB color model

#D5C798 color RGB value is (213,199,152).

  • red value is 213;
  • green value is 199;
  • blue value is 152.
RGB:
(213,199,152)
(84%,78%,60%)

RGB channels and saturation

R 213 of 255 = 84%
G 199 of 255 = 78%
B 152 of 255 = 60%

213
199
152

R + G + B ~ 74%. #D5C798 is quite light color.

Portions of RGB colors in percentages

R + G + B =
213 + 199 + 152 = 564 (100%)
R 213 of 564 ~ 37.77%
G 199 of 564 ~ 35.28%
B 152 of 564 ~ 26.95%

%37.77
%35.28
%26.95

CMYK color model

#D5C798 color CMYK value is (0,7,29,16).

  • cyan value is 0.00%
  • magenta value is 6.57%
  • yellow value is 28.64%
  • key color value is 16.47%
CMYK:
(0,7,29,16)
C0M7Y29K16 
(0%,7%,29%,16%)
(0.00/0.07/0.29/0.16)	

CMYK percentages

%0
%6.57
%28.64
%16.47

Codes

Color #D5C798 in popluar color models

D5C798
RGB213199152
HSL46°42.07%71.57%
HSB/HSV46°28.64%83.53%
CMYK0.00%6.57%28.64%
16.47%

Color #D5C798 in popluar number systems.

HEXD5C798
Decimal213199152
Binary110101011100011110011000
Octal325307230

Shades and tints

Shades of #D5C798

#D5C798
(213,199,152)
#C2B58B
(194,181,139)
#AFA37E
(175,163,126)
#9C9171
(156,145,113)
#897F64
(137,127,100)
#766D57
(118,109,87)
#635B4A
(99,91,74)
#50493D
(80,73,61)
#3D3730
(61,55,48)
#2A2523
(42,37,35)
#171316
(23,19,22)
#000000
(0,0,0)

Tints of #D5C798

#D5C798
(213,199,152)
#D8CCA1
(216,204,161)
#DBD1AA
(219,209,170)
#DED6B3
(222,214,179)
#E1DBBC
(225,219,188)
#E4E0C5
(228,224,197)
#E7E5CE
(231,229,206)
#EAEAD7
(234,234,215)
#EDEFE0
(237,239,224)
#F0F4E9
(240,244,233)
#F3F9F2
(243,249,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D5C798 color. Also use rgb(213,199,152) instead hex code.

Text Font Color

.myTextColor { color: #D5C798; }

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

This text font color is #D5C798.


Background Color

.myBgColor { background-color: #D5C798; }

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

This div background color is #D5C798.


Border color

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

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

This div border color is #D5C798.


Opacity

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

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

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

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

This text has shadow with #D5C798 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D5C798 on black background.


Color preview on white background

This text has color #D5C798 on white background.



Black color preview on #D5C798 background

This text has black color on #D5C798 background.


White color preview on #D5C798 background

This text has white color on #D5C798 background.