COLOR #D8A1D8

HEX: #D8A1D8
RGB: (216,161,216)

Color info

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

RGB color model

#D8A1D8 color RGB value is (216,161,216).

  • red value is 216;
  • green value is 161;
  • blue value is 216.
RGB:
(216,161,216)
(85%,63%,85%)

RGB channels and saturation

R 216 of 255 = 85%
G 161 of 255 = 63%
B 216 of 255 = 85%

216
161
216

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

Portions of RGB colors in percentages

R + G + B =
216 + 161 + 216 = 593 (100%)
R 216 of 593 ~ 36.42%
G 161 of 593 ~ 27.15%
B 216 of 593 ~ 36.42%

%36.42
%27.15
%36.42

CMYK color model

#D8A1D8 color CMYK value is (0,25,0,15).

  • cyan value is 0.00%
  • magenta value is 25.46%
  • yellow value is 0.00%
  • key color value is 15.29%
CMYK:
(0,25,0,15)
C0M25Y0K15 
(0%,25%,0%,15%)
(0.00/0.25/0.00/0.15)	

CMYK percentages

%0
%25.46
%0
%15.29

Codes

Color #D8A1D8 in popluar color models

D8A1D8
RGB216161216
HSL300°41.35%73.92%
HSB/HSV300°25.46%84.71%
CMYK0.00%25.46%0.00%
15.29%

Color #D8A1D8 in popluar number systems.

HEXD8A1D8
Decimal216161216
Binary110110001010000111011000
Octal330241330

Shades and tints

Shades of #D8A1D8

#D8A1D8
(216,161,216)
#C593C5
(197,147,197)
#B285B2
(178,133,178)
#9F779F
(159,119,159)
#8C698C
(140,105,140)
#795B79
(121,91,121)
#664D66
(102,77,102)
#533F53
(83,63,83)
#403140
(64,49,64)
#2D232D
(45,35,45)
#1A151A
(26,21,26)
#000000
(0,0,0)

Tints of #D8A1D8

#D8A1D8
(216,161,216)
#DBA9DB
(219,169,219)
#DEB1DE
(222,177,222)
#E1B9E1
(225,185,225)
#E4C1E4
(228,193,228)
#E7C9E7
(231,201,231)
#EAD1EA
(234,209,234)
#EDD9ED
(237,217,237)
#F0E1F0
(240,225,240)
#F3E9F3
(243,233,243)
#F6F1F6
(246,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8A1D8; }

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

This text font color is #D8A1D8.


Background Color

.myBgColor { background-color: #D8A1D8; }

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

This div background color is #D8A1D8.


Border color

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

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

This div border color is #D8A1D8.


Opacity

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

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

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

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

This text has shadow with #D8A1D8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8A1D8 on black background.


Color preview on white background

This text has color #D8A1D8 on white background.



Black color preview on #D8A1D8 background

This text has black color on #D8A1D8 background.


White color preview on #D8A1D8 background

This text has white color on #D8A1D8 background.