COLOR #D4A7F1

HEX: #D4A7F1
RGB: (212,167,241)

Color info

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

RGB color model

#D4A7F1 color RGB value is (212,167,241).

  • red value is 212;
  • green value is 167;
  • blue value is 241.
RGB:
(212,167,241)
(83%,65%,95%)

RGB channels and saturation

R 212 of 255 = 83%
G 167 of 255 = 65%
B 241 of 255 = 95%

212
167
241

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

Portions of RGB colors in percentages

R + G + B =
212 + 167 + 241 = 620 (100%)
R 212 of 620 ~ 34.19%
G 167 of 620 ~ 26.94%
B 241 of 620 ~ 38.87%

%34.19
%26.94
%38.87

CMYK color model

#D4A7F1 color CMYK value is (12,31,0,5).

  • cyan value is 12.03%
  • magenta value is 30.71%
  • yellow value is 0.00%
  • key color value is 5.49%
CMYK:
(12,31,0,5)
C12M31Y0K5 
(12%,31%,0%,5%)
(0.12/0.31/0.00/0.05)	

CMYK percentages

%12.03
%30.71
%0
%5.49

Codes

Color #D4A7F1 in popluar color models

D4A7F1
RGB212167241
HSL276°72.55%80.00%
HSB/HSV276°30.71%94.51%
CMYK12.03%30.71%0.00%
5.49%

Color #D4A7F1 in popluar number systems.

HEXD4A7F1
Decimal212167241
Binary110101001010011111110001
Octal324247361

Shades and tints

Shades of #D4A7F1

#D4A7F1
(212,167,241)
#C198DC
(193,152,220)
#AE89C7
(174,137,199)
#9B7AB2
(155,122,178)
#886B9D
(136,107,157)
#755C88
(117,92,136)
#624D73
(98,77,115)
#4F3E5E
(79,62,94)
#3C2F49
(60,47,73)
#292034
(41,32,52)
#16111F
(22,17,31)
#000000
(0,0,0)

Tints of #D4A7F1

#D4A7F1
(212,167,241)
#D7AFF2
(215,175,242)
#DAB7F3
(218,183,243)
#DDBFF4
(221,191,244)
#E0C7F5
(224,199,245)
#E3CFF6
(227,207,246)
#E6D7F7
(230,215,247)
#E9DFF8
(233,223,248)
#ECE7F9
(236,231,249)
#EFEFFA
(239,239,250)
#F2F7FB
(242,247,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4A7F1 color. Also use rgb(212,167,241) instead hex code.

Text Font Color

.myTextColor { color: #D4A7F1; }

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

This text font color is #D4A7F1.


Background Color

.myBgColor { background-color: #D4A7F1; }

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

This div background color is #D4A7F1.


Border color

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

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

This div border color is #D4A7F1.


Opacity

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

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

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

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

This text has shadow with #D4A7F1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4A7F1 on black background.


Color preview on white background

This text has color #D4A7F1 on white background.



Black color preview on #D4A7F1 background

This text has black color on #D4A7F1 background.


White color preview on #D4A7F1 background

This text has white color on #D4A7F1 background.