COLOR #D796DC

HEX: #D796DC RGB: (215,150,220)

Color info

#D796DC contains mainly red and blue colors. Web safe color of #D796DC is #CC99CC (or #C9C).

RGB color model

#D796DC color RGB value is (215,150,220).

RGB: (215,150,220) (84%, 59%, 86%)

RGB channels and saturation

R 215 of 255 = 84%
G 150 of 255 = 59%
B 220 of 255 = 86%

215
150
220

R + G + B ~ 76%. #D796DC is quite light color.

Portions of RGB colors in percentages

R + G + B = 215 + 150 + 220 = 585 (100%)
R 215 of 585 ~ 36.75%
G 150 of 585 ~ 25.64%
B 220 of 585 ~ 37.61'%

%36.75
%25.64
%37.61

CMYK color model

#D796DC color CMYK value is (2,32,0,14).

  • cyan value is 2.27%
  • magenta value is 31.82%
  • yellow value is 0.00%
  • key color value is 13.73%

CMYK: (2,32,0,14)
C2M32Y0K14 (2%, 32%, 0%, 14%)
(0.02 / 0.32 / 0.00 / 0.14)

CMYK percentages

%2.27
%31.82
%0
%13.73

Codes

Color #D796DC in popluar color models

D7 96 DC
RGB 215 150 220
HSL 296° 50.00% 72.55%
HSB/HSV 296° 31.82% 86.27%
CMYK 2.27% 31.82% 0.00%
13.73%

Color #D796DC in popluar number systems.

HEX D7 96 DC
Decimal 215 150 220
Binary 11010111 10010110 11011100
Octal 327 226 334

Shades and tints

Shades of #D796DC

#D796DC
(215,150,220)
#C489C8
(196,137,200)
#B17CB4
(177,124,180)
#9E6FA0
(158,111,160)
#8B628C
(139,98,140)
#785578
(120,85,120)
#654864
(101,72,100)
#523B50
(82,59,80)
#3F2E3C
(63,46,60)
#2C2128
(44,33,40)
#191414
(25,20,20)
#000000
(0,0,0)

Tints of #D796DC

#D796DC
(215,150,220)
#DA9FDF
(218,159,223)
#DDA8E2
(221,168,226)
#E0B1E5
(224,177,229)
#E3BAE8
(227,186,232)
#E6C3EB
(230,195,235)
#E9CCEE
(233,204,238)
#ECD5F1
(236,213,241)
#EFDEF4
(239,222,244)
#F2E7F7
(242,231,247)
#F5F0FA
(245,240,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D796DC; }

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

This text font color is #D796DC.

Background Color

.myBgColor { background-color: #D796DC; }

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

This div background color is #D796DC.

Border color

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

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

This div border color is #D796DC.

Opacity

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

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

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

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

This text has shadow with #D796DC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D796DC.

Preview

Color preview on black background

This text has color #D796DC on black background.


Color preview on white background

This text has color #D796DC on white background.


Black color preview on #D796DC background

This text has black color on #D796DC background.


White color preview on #D796DC background

This text has white color on #D796DC background.


Related colors

Complementary color

Complementary color for #hex is #286923.


I love getcolorcode.com

Triadic colors

1 #DCD796 and #96DCD7 with #D796DC are triadic colors.

2 #DC96D7 and #96D7DC with #D796DC are triadic colors.