COLOR #D1A1D1

HEX: #D1A1D1
RGB: (209,161,209)

Color info

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

RGB color model

#D1A1D1 color RGB value is (209,161,209).

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

RGB channels and saturation

R 209 of 255 = 82%
G 161 of 255 = 63%
B 209 of 255 = 82%

209
161
209

R + G + B ~ 76%. #D1A1D1 is quite light color.

Portions of RGB colors in percentages

R + G + B =
209 + 161 + 209 = 579 (100%)
R 209 of 579 ~ 36.1%
G 161 of 579 ~ 27.81%
B 209 of 579 ~ 36.1%

%36.1
%27.81
%36.1

CMYK color model

#D1A1D1 color CMYK value is (0,23,0,18).

  • cyan value is 0.00%
  • magenta value is 22.97%
  • yellow value is 0.00%
  • key color value is 18.04%
CMYK:
(0,23,0,18)
C0M23Y0K18 
(0%,23%,0%,18%)
(0.00/0.23/0.00/0.18)	

CMYK percentages

%0
%22.97
%0
%18.04

Codes

Color #D1A1D1 in popluar color models

D1A1D1
RGB209161209
HSL300°34.29%72.55%
HSB/HSV300°22.97%81.96%
CMYK0.00%22.97%0.00%
18.04%

Color #D1A1D1 in popluar number systems.

HEXD1A1D1
Decimal209161209
Binary110100011010000111010001
Octal321241321

Shades and tints

Shades of #D1A1D1

#D1A1D1
(209,161,209)
#BE93BE
(190,147,190)
#AB85AB
(171,133,171)
#987798
(152,119,152)
#856985
(133,105,133)
#725B72
(114,91,114)
#5F4D5F
(95,77,95)
#4C3F4C
(76,63,76)
#393139
(57,49,57)
#262326
(38,35,38)
#131513
(19,21,19)
#000000
(0,0,0)

Tints of #D1A1D1

#D1A1D1
(209,161,209)
#D5A9D5
(213,169,213)
#D9B1D9
(217,177,217)
#DDB9DD
(221,185,221)
#E1C1E1
(225,193,225)
#E5C9E5
(229,201,229)
#E9D1E9
(233,209,233)
#EDD9ED
(237,217,237)
#F1E1F1
(241,225,241)
#F5E9F5
(245,233,245)
#F9F1F9
(249,241,249)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D1A1D1; }

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

This text font color is #D1A1D1.


Background Color

.myBgColor { background-color: #D1A1D1; }

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

This div background color is #D1A1D1.


Border color

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

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

This div border color is #D1A1D1.


Opacity

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

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

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

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

This text has shadow with #D1A1D1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D1A1D1 on black background.


Color preview on white background

This text has color #D1A1D1 on white background.



Black color preview on #D1A1D1 background

This text has black color on #D1A1D1 background.


White color preview on #D1A1D1 background

This text has white color on #D1A1D1 background.