COLOR #D8A7DC

HEX: #D8A7DC RGB: (216,167,220)

Color info

#D8A7DC contains red, green and blue colors in about the same proportion. Web safe color of #D8A7DC is #CC99CC (or #C9C).

RGB color model

#D8A7DC color RGB value is (216,167,220).

RGB: (216,167,220) (85%, 65%, 86%)

RGB channels and saturation

R 216 of 255 = 85%
G 167 of 255 = 65%
B 220 of 255 = 86%

216
167
220

R + G + B ~ 79%. #D8A7DC is quite light color.

Portions of RGB colors in percentages

R + G + B = 216 + 167 + 220 = 603 (100%)
R 216 of 603 ~ 35.82%
G 167 of 603 ~ 27.69%
B 220 of 603 ~ 36.48'%

%35.82
%27.69
%36.48

CMYK color model

#D8A7DC color CMYK value is (2,24,0,14).

  • cyan value is 1.82%
  • magenta value is 24.09%
  • yellow value is 0.00%
  • key color value is 13.73%

CMYK: (2,24,0,14)
C2M24Y0K14 (2%, 24%, 0%, 14%)
(0.02 / 0.24 / 0.00 / 0.14)

CMYK percentages

%1.82
%24.09
%0
%13.73

Codes

Color #D8A7DC in popluar color models

D8 A7 DC
RGB 216 167 220
HSL 295° 43.09% 75.88%
HSB/HSV 295° 24.09% 86.27%
CMYK 1.82% 24.09% 0.00%
13.73%

Color #D8A7DC in popluar number systems.

HEX D8 A7 DC
Decimal 216 167 220
Binary 11011000 10100111 11011100
Octal 330 247 334

Shades and tints

Shades of #D8A7DC

#D8A7DC
(216,167,220)
#C598C8
(197,152,200)
#B289B4
(178,137,180)
#9F7AA0
(159,122,160)
#8C6B8C
(140,107,140)
#795C78
(121,92,120)
#664D64
(102,77,100)
#533E50
(83,62,80)
#402F3C
(64,47,60)
#2D2028
(45,32,40)
#1A1114
(26,17,20)
#000000
(0,0,0)

Tints of #D8A7DC

#D8A7DC
(216,167,220)
#DBAFDF
(219,175,223)
#DEB7E2
(222,183,226)
#E1BFE5
(225,191,229)
#E4C7E8
(228,199,232)
#E7CFEB
(231,207,235)
#EAD7EE
(234,215,238)
#EDDFF1
(237,223,241)
#F0E7F4
(240,231,244)
#F3EFF7
(243,239,247)
#F6F7FA
(246,247,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8A7DC color. Also use rgb(216,167,220) instead hex code.

Text Font Color

.myTextColor { color: #D8A7DC; }

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

This text font color is #D8A7DC.

Background Color

.myBgColor { background-color: #D8A7DC; }

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

This div background color is #D8A7DC.

Border color

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

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

This div border color is #D8A7DC.

Opacity

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

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

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

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

This text has shadow with #D8A7DC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8A7DC.

Preview

Color preview on black background

This text has color #D8A7DC on black background.


Color preview on white background

This text has color #D8A7DC on white background.


Black color preview on #D8A7DC background

This text has black color on #D8A7DC background.


White color preview on #D8A7DC background

This text has white color on #D8A7DC background.


Related colors

Complementary color

Complementary color for #hex is #275823.


I love getcolorcode.com

Triadic colors

1 #DCD8A7 and #A7DCD8 with #D8A7DC are triadic colors.

2 #DCA7D8 and #A7D8DC with #D8A7DC are triadic colors.