COLOR #A870B2

HEX: #A870B2
RGB: (168,112,178)

Color info

#A870B2 contains mainly red and blue colors. Web safe color of #A870B2 is #996699 (or #969).

RGB color model

#A870B2 color RGB value is (168,112,178).

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

RGB channels and saturation

R 168 of 255 = 66%
G 112 of 255 = 44%
B 178 of 255 = 70%

168
112
178

R + G + B ~ 60%. #A870B2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
168 + 112 + 178 = 458 (100%)
R 168 of 458 ~ 36.68%
G 112 of 458 ~ 24.45%
B 178 of 458 ~ 38.86%

%36.68
%24.45
%38.86

CMYK color model

#A870B2 color CMYK value is (6,37,0,30).

  • cyan value is 5.62%
  • magenta value is 37.08%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(6,37,0,30)
C6M37Y0K30 
(6%,37%,0%,30%)
(0.06/0.37/0.00/0.30)	

CMYK percentages

%5.62
%37.08
%0
%30.2

Codes

Color #A870B2 in popluar color models

A870B2
RGB168112178
HSL291°30.00%56.86%
HSB/HSV291°37.08%69.80%
CMYK5.62%37.08%0.00%
30.20%

Color #A870B2 in popluar number systems.

HEXA870B2
Decimal168112178
Binary10101000111000010110010
Octal250160262

Shades and tints

Shades of #A870B2

#A870B2
(168,112,178)
#9966A2
(153,102,162)
#8A5C92
(138,92,146)
#7B5282
(123,82,130)
#6C4872
(108,72,114)
#5D3E62
(93,62,98)
#4E3452
(78,52,82)
#3F2A42
(63,42,66)
#302032
(48,32,50)
#211622
(33,22,34)
#120C12
(18,12,18)
#000000
(0,0,0)

Tints of #A870B2

#A870B2
(168,112,178)
#AF7DB9
(175,125,185)
#B68AC0
(182,138,192)
#BD97C7
(189,151,199)
#C4A4CE
(196,164,206)
#CBB1D5
(203,177,213)
#D2BEDC
(210,190,220)
#D9CBE3
(217,203,227)
#E0D8EA
(224,216,234)
#E7E5F1
(231,229,241)
#EEF2F8
(238,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A870B2; }

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

This text font color is #A870B2.


Background Color

.myBgColor { background-color: #A870B2; }

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

This div background color is #A870B2.


Border color

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

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

This div border color is #A870B2.


Opacity

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

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

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

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

This text has shadow with #A870B2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A870B2 on black background.


Color preview on white background

This text has color #A870B2 on white background.



Black color preview on #A870B2 background

This text has black color on #A870B2 background.


White color preview on #A870B2 background

This text has white color on #A870B2 background.