COLOR #D4A6DD

HEX: #D4A6DD
RGB: (212,166,221)

Color info

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

RGB color model

#D4A6DD color RGB value is (212,166,221).

  • red value is 212;
  • green value is 166;
  • blue value is 221.
RGB:
(212,166,221)
(83%,65%,87%)

RGB channels and saturation

R 212 of 255 = 83%
G 166 of 255 = 65%
B 221 of 255 = 87%

212
166
221

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

Portions of RGB colors in percentages

R + G + B =
212 + 166 + 221 = 599 (100%)
R 212 of 599 ~ 35.39%
G 166 of 599 ~ 27.71%
B 221 of 599 ~ 36.89%

%35.39
%27.71
%36.89

CMYK color model

#D4A6DD color CMYK value is (4,25,0,13).

  • cyan value is 4.07%
  • magenta value is 24.89%
  • yellow value is 0.00%
  • key color value is 13.33%
CMYK:
(4,25,0,13)
C4M25Y0K13 
(4%,25%,0%,13%)
(0.04/0.25/0.00/0.13)	

CMYK percentages

%4.07
%24.89
%0
%13.33

Codes

Color #D4A6DD in popluar color models

D4A6DD
RGB212166221
HSL290°44.72%75.88%
HSB/HSV290°24.89%86.67%
CMYK4.07%24.89%0.00%
13.33%

Color #D4A6DD in popluar number systems.

HEXD4A6DD
Decimal212166221
Binary110101001010011011011101
Octal324246335

Shades and tints

Shades of #D4A6DD

#D4A6DD
(212,166,221)
#C197C9
(193,151,201)
#AE88B5
(174,136,181)
#9B79A1
(155,121,161)
#886A8D
(136,106,141)
#755B79
(117,91,121)
#624C65
(98,76,101)
#4F3D51
(79,61,81)
#3C2E3D
(60,46,61)
#291F29
(41,31,41)
#161015
(22,16,21)
#000000
(0,0,0)

Tints of #D4A6DD

#D4A6DD
(212,166,221)
#D7AEE0
(215,174,224)
#DAB6E3
(218,182,227)
#DDBEE6
(221,190,230)
#E0C6E9
(224,198,233)
#E3CEEC
(227,206,236)
#E6D6EF
(230,214,239)
#E9DEF2
(233,222,242)
#ECE6F5
(236,230,245)
#EFEEF8
(239,238,248)
#F2F6FB
(242,246,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4A6DD color. Also use rgb(212,166,221) instead hex code.

Text Font Color

.myTextColor { color: #D4A6DD; }

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

This text font color is #D4A6DD.


Background Color

.myBgColor { background-color: #D4A6DD; }

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

This div background color is #D4A6DD.


Border color

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

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

This div border color is #D4A6DD.


Opacity

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

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

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

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

This text has shadow with #D4A6DD color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4A6DD on black background.


Color preview on white background

This text has color #D4A6DD on white background.



Black color preview on #D4A6DD background

This text has black color on #D4A6DD background.


White color preview on #D4A6DD background

This text has white color on #D4A6DD background.