COLOR #D8A8EC

HEX: #D8A8EC RGB: (216,168,236)

Color info

#D8A8EC contains mainly red and blue colors. Web safe color of #D8A8EC is #CC99FF (or #C9F).

RGB color model

#D8A8EC color RGB value is (216,168,236).

RGB: (216,168,236) (85%, 66%, 93%)

RGB channels and saturation

R 216 of 255 = 85%
G 168 of 255 = 66%
B 236 of 255 = 93%

216
168
236

R + G + B ~ 81%. #D8A8EC is quite light color.

Portions of RGB colors in percentages

R + G + B = 216 + 168 + 236 = 620 (100%)
R 216 of 620 ~ 34.84%
G 168 of 620 ~ 27.1%
B 236 of 620 ~ 38.06'%

%34.84
%27.1
%38.06

CMYK color model

#D8A8EC color CMYK value is (8,29,0,7).

  • cyan value is 8.47%
  • magenta value is 28.81%
  • yellow value is 0.00%
  • key color value is 7.45%

CMYK: (8,29,0,7)
C8M29Y0K7 (8%, 29%, 0%, 7%)
(0.08 / 0.29 / 0.00 / 0.07)

CMYK percentages

%8.47
%28.81
%0
%7.45

Codes

Color #D8A8EC in popluar color models

D8 A8 EC
RGB 216 168 236
HSL 282° 64.15% 79.22%
HSB/HSV 282° 28.81% 92.55%
CMYK 8.47% 28.81% 0.00%
7.45%

Color #D8A8EC in popluar number systems.

HEX D8 A8 EC
Decimal 216 168 236
Binary 11011000 10101000 11101100
Octal 330 250 354

Shades and tints

Shades of #D8A8EC

#D8A8EC
(216,168,236)
#C599D7
(197,153,215)
#B28AC2
(178,138,194)
#9F7BAD
(159,123,173)
#8C6C98
(140,108,152)
#795D83
(121,93,131)
#664E6E
(102,78,110)
#533F59
(83,63,89)
#403044
(64,48,68)
#2D212F
(45,33,47)
#1A121A
(26,18,26)
#000000
(0,0,0)

Tints of #D8A8EC

#D8A8EC
(216,168,236)
#DBAFED
(219,175,237)
#DEB6EE
(222,182,238)
#E1BDEF
(225,189,239)
#E4C4F0
(228,196,240)
#E7CBF1
(231,203,241)
#EAD2F2
(234,210,242)
#EDD9F3
(237,217,243)
#F0E0F4
(240,224,244)
#F3E7F5
(243,231,245)
#F6EEF6
(246,238,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8A8EC; }

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

This text font color is #D8A8EC.

Background Color

.myBgColor { background-color: #D8A8EC; }

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

This div background color is #D8A8EC.

Border color

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

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

This div border color is #D8A8EC.

Opacity

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

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

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

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

This text has shadow with #D8A8EC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8A8EC.

Preview

Color preview on black background

This text has color #D8A8EC on black background.


Color preview on white background

This text has color #D8A8EC on white background.


Black color preview on #D8A8EC background

This text has black color on #D8A8EC background.


White color preview on #D8A8EC background

This text has white color on #D8A8EC background.


Related colors

Complementary color

Complementary color for #hex is #275713.


I love getcolorcode.com

Triadic colors

1 #ECD8A8 and #A8ECD8 with #D8A8EC are triadic colors.

2 #ECA8D8 and #A8D8EC with #D8A8EC are triadic colors.