COLOR #D796B1

HEX: #D796B1
RGB: (215,150,177)

Color info

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

RGB color model

#D796B1 color RGB value is (215,150,177).

  • red value is 215;
  • green value is 150;
  • blue value is 177.
RGB:
(215,150,177)
(84%,59%,69%)

RGB channels and saturation

R 215 of 255 = 84%
G 150 of 255 = 59%
B 177 of 255 = 69%

215
150
177

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

Portions of RGB colors in percentages

R + G + B =
215 + 150 + 177 = 542 (100%)
R 215 of 542 ~ 39.67%
G 150 of 542 ~ 27.68%
B 177 of 542 ~ 32.66%

%39.67
%27.68
%32.66

CMYK color model

#D796B1 color CMYK value is (0,30,18,16).

  • cyan value is 0.00%
  • magenta value is 30.23%
  • yellow value is 17.67%
  • key color value is 15.69%
CMYK:
(0,30,18,16)
C0M30Y18K16 
(0%,30%,18%,16%)
(0.00/0.30/0.18/0.16)	

CMYK percentages

%0
%30.23
%17.67
%15.69

Codes

Color #D796B1 in popluar color models

D796B1
RGB215150177
HSL335°44.83%71.57%
HSB/HSV335°30.23%84.31%
CMYK0.00%30.23%17.67%
15.69%

Color #D796B1 in popluar number systems.

HEXD796B1
Decimal215150177
Binary110101111001011010110001
Octal327226261

Shades and tints

Shades of #D796B1

#D796B1
(215,150,177)
#C489A1
(196,137,161)
#B17C91
(177,124,145)
#9E6F81
(158,111,129)
#8B6271
(139,98,113)
#785561
(120,85,97)
#654851
(101,72,81)
#523B41
(82,59,65)
#3F2E31
(63,46,49)
#2C2121
(44,33,33)
#191411
(25,20,17)
#000000
(0,0,0)

Tints of #D796B1

#D796B1
(215,150,177)
#DA9FB8
(218,159,184)
#DDA8BF
(221,168,191)
#E0B1C6
(224,177,198)
#E3BACD
(227,186,205)
#E6C3D4
(230,195,212)
#E9CCDB
(233,204,219)
#ECD5E2
(236,213,226)
#EFDEE9
(239,222,233)
#F2E7F0
(242,231,240)
#F5F0F7
(245,240,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D796B1 color. Also use rgb(215,150,177) instead hex code.

Text Font Color

.myTextColor { color: #D796B1; }

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

This text font color is #D796B1.


Background Color

.myBgColor { background-color: #D796B1; }

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

This div background color is #D796B1.


Border color

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

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

This div border color is #D796B1.


Opacity

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

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

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

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

This text has shadow with #D796B1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D796B1 on black background.


Color preview on white background

This text has color #D796B1 on white background.



Black color preview on #D796B1 background

This text has black color on #D796B1 background.


White color preview on #D796B1 background

This text has white color on #D796B1 background.