COLOR #9D87A6

HEX: #9D87A6
RGB: (157,135,166)

Color info

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

RGB color model

#9D87A6 color RGB value is (157,135,166).

  • red value is 157;
  • green value is 135;
  • blue value is 166.
RGB:
(157,135,166)
(62%,53%,65%)

RGB channels and saturation

R 157 of 255 = 62%
G 135 of 255 = 53%
B 166 of 255 = 65%

157
135
166

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

Portions of RGB colors in percentages

R + G + B =
157 + 135 + 166 = 458 (100%)
R 157 of 458 ~ 34.28%
G 135 of 458 ~ 29.48%
B 166 of 458 ~ 36.24%

%34.28
%29.48
%36.24

CMYK color model

#9D87A6 color CMYK value is (5,19,0,35).

  • cyan value is 5.42%
  • magenta value is 18.67%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(5,19,0,35)
C5M19Y0K35 
(5%,19%,0%,35%)
(0.05/0.19/0.00/0.35)	

CMYK percentages

%5.42
%18.67
%0
%34.9

Codes

Color #9D87A6 in popluar color models

9D87A6
RGB157135166
HSL283°14.83%59.02%
HSB/HSV283°18.67%65.10%
CMYK5.42%18.67%0.00%
34.90%

Color #9D87A6 in popluar number systems.

HEX9D87A6
Decimal157135166
Binary100111011000011110100110
Octal235207246

Shades and tints

Shades of #9D87A6

#9D87A6
(157,135,166)
#8F7B97
(143,123,151)
#816F88
(129,111,136)
#736379
(115,99,121)
#65576A
(101,87,106)
#574B5B
(87,75,91)
#493F4C
(73,63,76)
#3B333D
(59,51,61)
#2D272E
(45,39,46)
#1F1B1F
(31,27,31)
#110F10
(17,15,16)
#000000
(0,0,0)

Tints of #9D87A6

#9D87A6
(157,135,166)
#A591AE
(165,145,174)
#AD9BB6
(173,155,182)
#B5A5BE
(181,165,190)
#BDAFC6
(189,175,198)
#C5B9CE
(197,185,206)
#CDC3D6
(205,195,214)
#D5CDDE
(213,205,222)
#DDD7E6
(221,215,230)
#E5E1EE
(229,225,238)
#EDEBF6
(237,235,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D87A6 color. Also use rgb(157,135,166) instead hex code.

Text Font Color

.myTextColor { color: #9D87A6; }

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

This text font color is #9D87A6.


Background Color

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

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

This div background color is #9D87A6.


Border color

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

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

This div border color is #9D87A6.


Opacity

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

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

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

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

This text has shadow with #9D87A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D87A6 on black background.


Color preview on white background

This text has color #9D87A6 on white background.



Black color preview on #9D87A6 background

This text has black color on #9D87A6 background.


White color preview on #9D87A6 background

This text has white color on #9D87A6 background.