COLOR #D797A0

HEX: #D797A0
RGB: (215,151,160)

Color info

#D797A0 contains mainly red and blue colors. Web safe color of #D797A0 is #CC9999 (or #C99).

RGB color model

#D797A0 color RGB value is (215,151,160).

  • red value is 215;
  • green value is 151;
  • blue value is 160.
RGB:
(215,151,160)
(84%,59%,63%)

RGB channels and saturation

R 215 of 255 = 84%
G 151 of 255 = 59%
B 160 of 255 = 63%

215
151
160

R + G + B ~ 69%. #D797A0 is quite light color.

Portions of RGB colors in percentages

R + G + B =
215 + 151 + 160 = 526 (100%)
R 215 of 526 ~ 40.87%
G 151 of 526 ~ 28.71%
B 160 of 526 ~ 30.42%

%40.87
%28.71
%30.42

CMYK color model

#D797A0 color CMYK value is (0,30,26,16).

  • cyan value is 0.00%
  • magenta value is 29.77%
  • yellow value is 25.58%
  • key color value is 15.69%
CMYK:
(0,30,26,16)
C0M30Y26K16 
(0%,30%,26%,16%)
(0.00/0.30/0.26/0.16)	

CMYK percentages

%0
%29.77
%25.58
%15.69

Codes

Color #D797A0 in popluar color models

D797A0
RGB215151160
HSL352°44.44%71.76%
HSB/HSV352°29.77%84.31%
CMYK0.00%29.77%25.58%
15.69%

Color #D797A0 in popluar number systems.

HEXD797A0
Decimal215151160
Binary110101111001011110100000
Octal327227240

Shades and tints

Shades of #D797A0

#D797A0
(215,151,160)
#C48A92
(196,138,146)
#B17D84
(177,125,132)
#9E7076
(158,112,118)
#8B6368
(139,99,104)
#78565A
(120,86,90)
#65494C
(101,73,76)
#523C3E
(82,60,62)
#3F2F30
(63,47,48)
#2C2222
(44,34,34)
#191514
(25,21,20)
#000000
(0,0,0)

Tints of #D797A0

#D797A0
(215,151,160)
#DAA0A8
(218,160,168)
#DDA9B0
(221,169,176)
#E0B2B8
(224,178,184)
#E3BBC0
(227,187,192)
#E6C4C8
(230,196,200)
#E9CDD0
(233,205,208)
#ECD6D8
(236,214,216)
#EFDFE0
(239,223,224)
#F2E8E8
(242,232,232)
#F5F1F0
(245,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D797A0 color. Also use rgb(215,151,160) instead hex code.

Text Font Color

.myTextColor { color: #D797A0; }

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

This text font color is #D797A0.


Background Color

.myBgColor { background-color: #D797A0; }

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

This div background color is #D797A0.


Border color

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

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

This div border color is #D797A0.


Opacity

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

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

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

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

This text has shadow with #D797A0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D797A0 on black background.


Color preview on white background

This text has color #D797A0 on white background.



Black color preview on #D797A0 background

This text has black color on #D797A0 background.


White color preview on #D797A0 background

This text has white color on #D797A0 background.