COLOR #D8A2D3

HEX: #D8A2D3
RGB: (216,162,211)

Color info

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

RGB color model

#D8A2D3 color RGB value is (216,162,211).

  • red value is 216;
  • green value is 162;
  • blue value is 211.
RGB:
(216,162,211)
(85%,64%,83%)

RGB channels and saturation

R 216 of 255 = 85%
G 162 of 255 = 64%
B 211 of 255 = 83%

216
162
211

R + G + B ~ 77%. #D8A2D3 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 162 + 211 = 589 (100%)
R 216 of 589 ~ 36.67%
G 162 of 589 ~ 27.5%
B 211 of 589 ~ 35.82%

%36.67
%27.5
%35.82

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 2.31%
  • key color value is 15.29%
CMYK:
(0,25,2,15)
C0M25Y2K15 
(0%,25%,2%,15%)
(0.00/0.25/0.02/0.15)	

CMYK percentages

%0
%25
%2.31
%15.29

Codes

Color #D8A2D3 in popluar color models

D8A2D3
RGB216162211
HSL306°40.91%74.12%
HSB/HSV306°25.00%84.71%
CMYK0.00%25.00%2.31%
15.29%

Color #D8A2D3 in popluar number systems.

HEXD8A2D3
Decimal216162211
Binary110110001010001011010011
Octal330242323

Shades and tints

Shades of #D8A2D3

#D8A2D3
(216,162,211)
#C594C0
(197,148,192)
#B286AD
(178,134,173)
#9F789A
(159,120,154)
#8C6A87
(140,106,135)
#795C74
(121,92,116)
#664E61
(102,78,97)
#53404E
(83,64,78)
#40323B
(64,50,59)
#2D2428
(45,36,40)
#1A1615
(26,22,21)
#000000
(0,0,0)

Tints of #D8A2D3

#D8A2D3
(216,162,211)
#DBAAD7
(219,170,215)
#DEB2DB
(222,178,219)
#E1BADF
(225,186,223)
#E4C2E3
(228,194,227)
#E7CAE7
(231,202,231)
#EAD2EB
(234,210,235)
#EDDAEF
(237,218,239)
#F0E2F3
(240,226,243)
#F3EAF7
(243,234,247)
#F6F2FB
(246,242,251)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8A2D3; }

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

This text font color is #D8A2D3.


Background Color

.myBgColor { background-color: #D8A2D3; }

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

This div background color is #D8A2D3.


Border color

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

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

This div border color is #D8A2D3.


Opacity

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

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

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

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

This text has shadow with #D8A2D3 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8A2D3 on black background.


Color preview on white background

This text has color #D8A2D3 on white background.



Black color preview on #D8A2D3 background

This text has black color on #D8A2D3 background.


White color preview on #D8A2D3 background

This text has white color on #D8A2D3 background.