COLOR #D7A8D7

HEX: #D7A8D7
RGB: (215,168,215)

Color info

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

RGB color model

#D7A8D7 color RGB value is (215,168,215).

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

RGB channels and saturation

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

215
168
215

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

Portions of RGB colors in percentages

R + G + B =
215 + 168 + 215 = 598 (100%)
R 215 of 598 ~ 35.95%
G 168 of 598 ~ 28.09%
B 215 of 598 ~ 35.95%

%35.95
%28.09
%35.95

CMYK color model

#D7A8D7 color CMYK value is (0,22,0,16).

  • cyan value is 0.00%
  • magenta value is 21.86%
  • yellow value is 0.00%
  • key color value is 15.69%
CMYK:
(0,22,0,16)
C0M22Y0K16 
(0%,22%,0%,16%)
(0.00/0.22/0.00/0.16)	

CMYK percentages

%0
%21.86
%0
%15.69

Codes

Color #D7A8D7 in popluar color models

D7A8D7
RGB215168215
HSL300°37.01%75.10%
HSB/HSV300°21.86%84.31%
CMYK0.00%21.86%0.00%
15.69%

Color #D7A8D7 in popluar number systems.

HEXD7A8D7
Decimal215168215
Binary110101111010100011010111
Octal327250327

Shades and tints

Shades of #D7A8D7

#D7A8D7
(215,168,215)
#C499C4
(196,153,196)
#B18AB1
(177,138,177)
#9E7B9E
(158,123,158)
#8B6C8B
(139,108,139)
#785D78
(120,93,120)
#654E65
(101,78,101)
#523F52
(82,63,82)
#3F303F
(63,48,63)
#2C212C
(44,33,44)
#191219
(25,18,25)
#000000
(0,0,0)

Tints of #D7A8D7

#D7A8D7
(215,168,215)
#DAAFDA
(218,175,218)
#DDB6DD
(221,182,221)
#E0BDE0
(224,189,224)
#E3C4E3
(227,196,227)
#E6CBE6
(230,203,230)
#E9D2E9
(233,210,233)
#ECD9EC
(236,217,236)
#EFE0EF
(239,224,239)
#F2E7F2
(242,231,242)
#F5EEF5
(245,238,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D7A8D7; }

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

This text font color is #D7A8D7.


Background Color

.myBgColor { background-color: #D7A8D7; }

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

This div background color is #D7A8D7.


Border color

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

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

This div border color is #D7A8D7.


Opacity

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

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

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

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

This text has shadow with #D7A8D7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D7A8D7 on black background.


Color preview on white background

This text has color #D7A8D7 on white background.



Black color preview on #D7A8D7 background

This text has black color on #D7A8D7 background.


White color preview on #D7A8D7 background

This text has white color on #D7A8D7 background.