COLOR #A870D6

HEX: #A870D6
RGB: (168,112,214)

Color info

#A870D6 contains mainly red and blue colors. Web safe color of #A870D6 is #9966CC (or #96C).

RGB color model

#A870D6 color RGB value is (168,112,214).

  • red value is 168;
  • green value is 112;
  • blue value is 214.
RGB:
(168,112,214)
(66%,44%,84%)

RGB channels and saturation

R 168 of 255 = 66%
G 112 of 255 = 44%
B 214 of 255 = 84%

168
112
214

R + G + B ~ 65%. #A870D6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
168 + 112 + 214 = 494 (100%)
R 168 of 494 ~ 34.01%
G 112 of 494 ~ 22.67%
B 214 of 494 ~ 43.32%

%34.01
%22.67
%43.32

CMYK color model

#A870D6 color CMYK value is (21,48,0,16).

  • cyan value is 21.50%
  • magenta value is 47.66%
  • yellow value is 0.00%
  • key color value is 16.08%
CMYK:
(21,48,0,16)
C21M48Y0K16 
(21%,48%,0%,16%)
(0.21/0.48/0.00/0.16)	

CMYK percentages

%21.5
%47.66
%0
%16.08

Codes

Color #A870D6 in popluar color models

A870D6
RGB168112214
HSL273°55.43%63.92%
HSB/HSV273°47.66%83.92%
CMYK21.50%47.66%0.00%
16.08%

Color #A870D6 in popluar number systems.

HEXA870D6
Decimal168112214
Binary10101000111000011010110
Octal250160326

Shades and tints

Shades of #A870D6

#A870D6
(168,112,214)
#9966C3
(153,102,195)
#8A5CB0
(138,92,176)
#7B529D
(123,82,157)
#6C488A
(108,72,138)
#5D3E77
(93,62,119)
#4E3464
(78,52,100)
#3F2A51
(63,42,81)
#30203E
(48,32,62)
#21162B
(33,22,43)
#120C18
(18,12,24)
#000000
(0,0,0)

Tints of #A870D6

#A870D6
(168,112,214)
#AF7DD9
(175,125,217)
#B68ADC
(182,138,220)
#BD97DF
(189,151,223)
#C4A4E2
(196,164,226)
#CBB1E5
(203,177,229)
#D2BEE8
(210,190,232)
#D9CBEB
(217,203,235)
#E0D8EE
(224,216,238)
#E7E5F1
(231,229,241)
#EEF2F4
(238,242,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A870D6 color. Also use rgb(168,112,214) instead hex code.

Text Font Color

.myTextColor { color: #A870D6; }

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

This text font color is #A870D6.


Background Color

.myBgColor { background-color: #A870D6; }

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

This div background color is #A870D6.


Border color

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

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

This div border color is #A870D6.


Opacity

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

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

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

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

This text has shadow with #A870D6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A870D6 on black background.


Color preview on white background

This text has color #A870D6 on white background.



Black color preview on #A870D6 background

This text has black color on #A870D6 background.


White color preview on #A870D6 background

This text has white color on #A870D6 background.