COLOR #AB87A2

HEX: #AB87A2
RGB: (171,135,162)

Color info

#AB87A2 contains red, green and blue colors in about the same proportion. Web safe color of #AB87A2 is #999999 (or #999).

RGB color model

#AB87A2 color RGB value is (171,135,162).

  • red value is 171;
  • green value is 135;
  • blue value is 162.
RGB:
(171,135,162)
(67%,53%,64%)

RGB channels and saturation

R 171 of 255 = 67%
G 135 of 255 = 53%
B 162 of 255 = 64%

171
135
162

R + G + B ~ 61%. #AB87A2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
171 + 135 + 162 = 468 (100%)
R 171 of 468 ~ 36.54%
G 135 of 468 ~ 28.85%
B 162 of 468 ~ 34.62%

%36.54
%28.85
%34.62

CMYK color model

#AB87A2 color CMYK value is (0,21,5,33).

  • cyan value is 0.00%
  • magenta value is 21.05%
  • yellow value is 5.26%
  • key color value is 32.94%
CMYK:
(0,21,5,33)
C0M21Y5K33 
(0%,21%,5%,33%)
(0.00/0.21/0.05/0.33)	

CMYK percentages

%0
%21.05
%5.26
%32.94

Codes

Color #AB87A2 in popluar color models

AB87A2
RGB171135162
HSL315°17.65%60.00%
HSB/HSV315°21.05%67.06%
CMYK0.00%21.05%5.26%
32.94%

Color #AB87A2 in popluar number systems.

HEXAB87A2
Decimal171135162
Binary101010111000011110100010
Octal253207242

Shades and tints

Shades of #AB87A2

#AB87A2
(171,135,162)
#9C7B94
(156,123,148)
#8D6F86
(141,111,134)
#7E6378
(126,99,120)
#6F576A
(111,87,106)
#604B5C
(96,75,92)
#513F4E
(81,63,78)
#423340
(66,51,64)
#332732
(51,39,50)
#241B24
(36,27,36)
#150F16
(21,15,22)
#000000
(0,0,0)

Tints of #AB87A2

#AB87A2
(171,135,162)
#B291AA
(178,145,170)
#B99BB2
(185,155,178)
#C0A5BA
(192,165,186)
#C7AFC2
(199,175,194)
#CEB9CA
(206,185,202)
#D5C3D2
(213,195,210)
#DCCDDA
(220,205,218)
#E3D7E2
(227,215,226)
#EAE1EA
(234,225,234)
#F1EBF2
(241,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB87A2 color. Also use rgb(171,135,162) instead hex code.

Text Font Color

.myTextColor { color: #AB87A2; }

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

This text font color is #AB87A2.


Background Color

.myBgColor { background-color: #AB87A2; }

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

This div background color is #AB87A2.


Border color

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

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

This div border color is #AB87A2.


Opacity

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

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

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

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

This text has shadow with #AB87A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB87A2 on black background.


Color preview on white background

This text has color #AB87A2 on white background.



Black color preview on #AB87A2 background

This text has black color on #AB87A2 background.


White color preview on #AB87A2 background

This text has white color on #AB87A2 background.