COLOR #9A87AB

HEX: #9A87AB
RGB: (154,135,171)

Color info

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

RGB color model

#9A87AB color RGB value is (154,135,171).

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

RGB channels and saturation

R 154 of 255 = 60%
G 135 of 255 = 53%
B 171 of 255 = 67%

154
135
171

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

Portions of RGB colors in percentages

R + G + B =
154 + 135 + 171 = 460 (100%)
R 154 of 460 ~ 33.48%
G 135 of 460 ~ 29.35%
B 171 of 460 ~ 37.17%

%33.48
%29.35
%37.17

CMYK color model

#9A87AB color CMYK value is (10,21,0,33).

  • cyan value is 9.94%
  • magenta value is 21.05%
  • yellow value is 0.00%
  • key color value is 32.94%
CMYK:
(10,21,0,33)
C10M21Y0K33 
(10%,21%,0%,33%)
(0.10/0.21/0.00/0.33)	

CMYK percentages

%9.94
%21.05
%0
%32.94

Codes

Color #9A87AB in popluar color models

9A87AB
RGB154135171
HSL272°17.65%60.00%
HSB/HSV272°21.05%67.06%
CMYK9.94%21.05%0.00%
32.94%

Color #9A87AB in popluar number systems.

HEX9A87AB
Decimal154135171
Binary100110101000011110101011
Octal232207253

Shades and tints

Shades of #9A87AB

#9A87AB
(154,135,171)
#8C7B9C
(140,123,156)
#7E6F8D
(126,111,141)
#70637E
(112,99,126)
#62576F
(98,87,111)
#544B60
(84,75,96)
#463F51
(70,63,81)
#383342
(56,51,66)
#2A2733
(42,39,51)
#1C1B24
(28,27,36)
#0E0F15
(14,15,21)
#000000
(0,0,0)

Tints of #9A87AB

#9A87AB
(154,135,171)
#A391B2
(163,145,178)
#AC9BB9
(172,155,185)
#B5A5C0
(181,165,192)
#BEAFC7
(190,175,199)
#C7B9CE
(199,185,206)
#D0C3D5
(208,195,213)
#D9CDDC
(217,205,220)
#E2D7E3
(226,215,227)
#EBE1EA
(235,225,234)
#F4EBF1
(244,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A87AB; }

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

This text font color is #9A87AB.


Background Color

.myBgColor { background-color: #9A87AB; }

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

This div background color is #9A87AB.


Border color

.myBorderColor { border: 1px solid #9A87AB; }

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

This div border color is #9A87AB.


Opacity

.myOpacity80 { color: #9A87AB; opacity: 0.8; }

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

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

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

This text has shadow with #9A87AB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A87AB on black background.


Color preview on white background

This text has color #9A87AB on white background.



Black color preview on #9A87AB background

This text has black color on #9A87AB background.


White color preview on #9A87AB background

This text has white color on #9A87AB background.