COLOR #D7A8DD

HEX: #D7A8DD
RGB: (215,168,221)

Color info

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

RGB color model

#D7A8DD color RGB value is (215,168,221).

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

RGB channels and saturation

R 215 of 255 = 84%
G 168 of 255 = 66%
B 221 of 255 = 87%

215
168
221

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

Portions of RGB colors in percentages

R + G + B =
215 + 168 + 221 = 604 (100%)
R 215 of 604 ~ 35.6%
G 168 of 604 ~ 27.81%
B 221 of 604 ~ 36.59%

%35.6
%27.81
%36.59

CMYK color model

#D7A8DD color CMYK value is (3,24,0,13).

  • cyan value is 2.71%
  • magenta value is 23.98%
  • yellow value is 0.00%
  • key color value is 13.33%
CMYK:
(3,24,0,13)
C3M24Y0K13 
(3%,24%,0%,13%)
(0.03/0.24/0.00/0.13)	

CMYK percentages

%2.71
%23.98
%0
%13.33

Codes

Color #D7A8DD in popluar color models

D7A8DD
RGB215168221
HSL293°43.80%76.27%
HSB/HSV293°23.98%86.67%
CMYK2.71%23.98%0.00%
13.33%

Color #D7A8DD in popluar number systems.

HEXD7A8DD
Decimal215168221
Binary110101111010100011011101
Octal327250335

Shades and tints

Shades of #D7A8DD

#D7A8DD
(215,168,221)
#C499C9
(196,153,201)
#B18AB5
(177,138,181)
#9E7BA1
(158,123,161)
#8B6C8D
(139,108,141)
#785D79
(120,93,121)
#654E65
(101,78,101)
#523F51
(82,63,81)
#3F303D
(63,48,61)
#2C2129
(44,33,41)
#191215
(25,18,21)
#000000
(0,0,0)

Tints of #D7A8DD

#D7A8DD
(215,168,221)
#DAAFE0
(218,175,224)
#DDB6E3
(221,182,227)
#E0BDE6
(224,189,230)
#E3C4E9
(227,196,233)
#E6CBEC
(230,203,236)
#E9D2EF
(233,210,239)
#ECD9F2
(236,217,242)
#EFE0F5
(239,224,245)
#F2E7F8
(242,231,248)
#F5EEFB
(245,238,251)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D7A8DD; }

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

This text font color is #D7A8DD.


Background Color

.myBgColor { background-color: #D7A8DD; }

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

This div background color is #D7A8DD.


Border color

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

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

This div border color is #D7A8DD.


Opacity

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

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

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

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

This text has shadow with #D7A8DD color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D7A8DD on black background.


Color preview on white background

This text has color #D7A8DD on white background.



Black color preview on #D7A8DD background

This text has black color on #D7A8DD background.


White color preview on #D7A8DD background

This text has white color on #D7A8DD background.