COLOR #D8A8D7

HEX: #D8A8D7
RGB: (216,168,215)

Color info

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

RGB color model

#D8A8D7 color RGB value is (216,168,215).

  • red value is 216;
  • green value is 168;
  • blue value is 215.
RGB:
(216,168,215)
(85%,66%,84%)

RGB channels and saturation

R 216 of 255 = 85%
G 168 of 255 = 66%
B 215 of 255 = 84%

216
168
215

R + G + B ~ 78%. #D8A8D7 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 168 + 215 = 599 (100%)
R 216 of 599 ~ 36.06%
G 168 of 599 ~ 28.05%
B 215 of 599 ~ 35.89%

%36.06
%28.05
%35.89

CMYK color model

#D8A8D7 color CMYK value is (0,22,0,15).

  • cyan value is 0.00%
  • magenta value is 22.22%
  • yellow value is 0.46%
  • key color value is 15.29%
CMYK:
(0,22,0,15)
C0M22Y0K15 
(0%,22%,0%,15%)
(0.00/0.22/0.00/0.15)	

CMYK percentages

%0
%22.22
%0.46
%15.29

Codes

Color #D8A8D7 in popluar color models

D8A8D7
RGB216168215
HSL301°38.10%75.29%
HSB/HSV301°22.22%84.71%
CMYK0.00%22.22%0.46%
15.29%

Color #D8A8D7 in popluar number systems.

HEXD8A8D7
Decimal216168215
Binary110110001010100011010111
Octal330250327

Shades and tints

Shades of #D8A8D7

#D8A8D7
(216,168,215)
#C599C4
(197,153,196)
#B28AB1
(178,138,177)
#9F7B9E
(159,123,158)
#8C6C8B
(140,108,139)
#795D78
(121,93,120)
#664E65
(102,78,101)
#533F52
(83,63,82)
#40303F
(64,48,63)
#2D212C
(45,33,44)
#1A1219
(26,18,25)
#000000
(0,0,0)

Tints of #D8A8D7

#D8A8D7
(216,168,215)
#DBAFDA
(219,175,218)
#DEB6DD
(222,182,221)
#E1BDE0
(225,189,224)
#E4C4E3
(228,196,227)
#E7CBE6
(231,203,230)
#EAD2E9
(234,210,233)
#EDD9EC
(237,217,236)
#F0E0EF
(240,224,239)
#F3E7F2
(243,231,242)
#F6EEF5
(246,238,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8A8D7 color. Also use rgb(216,168,215) instead hex code.

Text Font Color

.myTextColor { color: #D8A8D7; }

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

This text font color is #D8A8D7.


Background Color

.myBgColor { background-color: #D8A8D7; }

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

This div background color is #D8A8D7.


Border color

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

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

This div border color is #D8A8D7.


Opacity

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

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

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

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

This text has shadow with #D8A8D7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8A8D7 on black background.


Color preview on white background

This text has color #D8A8D7 on white background.



Black color preview on #D8A8D7 background

This text has black color on #D8A8D7 background.


White color preview on #D8A8D7 background

This text has white color on #D8A8D7 background.