COLOR #D4AFF0

HEX: #D4AFF0
RGB: (212,175,240)

Color info

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

RGB color model

#D4AFF0 color RGB value is (212,175,240).

  • red value is 212;
  • green value is 175;
  • blue value is 240.
RGB:
(212,175,240)
(83%,69%,94%)

RGB channels and saturation

R 212 of 255 = 83%
G 175 of 255 = 69%
B 240 of 255 = 94%

212
175
240

R + G + B ~ 82%. #D4AFF0 is quite light color.

Portions of RGB colors in percentages

R + G + B =
212 + 175 + 240 = 627 (100%)
R 212 of 627 ~ 33.81%
G 175 of 627 ~ 27.91%
B 240 of 627 ~ 38.28%

%33.81
%27.91
%38.28

CMYK color model

#D4AFF0 color CMYK value is (12,27,0,6).

  • cyan value is 11.67%
  • magenta value is 27.08%
  • yellow value is 0.00%
  • key color value is 5.88%
CMYK:
(12,27,0,6)
C12M27Y0K6 
(12%,27%,0%,6%)
(0.12/0.27/0.00/0.06)	

CMYK percentages

%11.67
%27.08
%0
%5.88

Codes

Color #D4AFF0 in popluar color models

D4AFF0
RGB212175240
HSL274°68.42%81.37%
HSB/HSV274°27.08%94.12%
CMYK11.67%27.08%0.00%
5.88%

Color #D4AFF0 in popluar number systems.

HEXD4AFF0
Decimal212175240
Binary110101001010111111110000
Octal324257360

Shades and tints

Shades of #D4AFF0

#D4AFF0
(212,175,240)
#C1A0DB
(193,160,219)
#AE91C6
(174,145,198)
#9B82B1
(155,130,177)
#88739C
(136,115,156)
#756487
(117,100,135)
#625572
(98,85,114)
#4F465D
(79,70,93)
#3C3748
(60,55,72)
#292833
(41,40,51)
#16191E
(22,25,30)
#000000
(0,0,0)

Tints of #D4AFF0

#D4AFF0
(212,175,240)
#D7B6F1
(215,182,241)
#DABDF2
(218,189,242)
#DDC4F3
(221,196,243)
#E0CBF4
(224,203,244)
#E3D2F5
(227,210,245)
#E6D9F6
(230,217,246)
#E9E0F7
(233,224,247)
#ECE7F8
(236,231,248)
#EFEEF9
(239,238,249)
#F2F5FA
(242,245,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4AFF0 color. Also use rgb(212,175,240) instead hex code.

Text Font Color

.myTextColor { color: #D4AFF0; }

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

This text font color is #D4AFF0.


Background Color

.myBgColor { background-color: #D4AFF0; }

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

This div background color is #D4AFF0.


Border color

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

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

This div border color is #D4AFF0.


Opacity

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

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

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

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

This text has shadow with #D4AFF0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4AFF0 on black background.


Color preview on white background

This text has color #D4AFF0 on white background.



Black color preview on #D4AFF0 background

This text has black color on #D4AFF0 background.


White color preview on #D4AFF0 background

This text has white color on #D4AFF0 background.