COLOR #9D87C8

HEX: #9D87C8
RGB: (157,135,200)

Color info

#9D87C8 contains mainly red and blue colors. Web safe color of #9D87C8 is #9999CC (or #99C).

RGB color model

#9D87C8 color RGB value is (157,135,200).

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

RGB channels and saturation

R 157 of 255 = 62%
G 135 of 255 = 53%
B 200 of 255 = 78%

157
135
200

R + G + B ~ 64%. #9D87C8 is quite light color.

Portions of RGB colors in percentages

R + G + B =
157 + 135 + 200 = 492 (100%)
R 157 of 492 ~ 31.91%
G 135 of 492 ~ 27.44%
B 200 of 492 ~ 40.65%

%31.91
%27.44
%40.65

CMYK color model

#9D87C8 color CMYK value is (22,33,0,22).

  • cyan value is 21.50%
  • magenta value is 32.50%
  • yellow value is 0.00%
  • key color value is 21.57%
CMYK:
(22,33,0,22)
C22M33Y0K22 
(22%,33%,0%,22%)
(0.22/0.33/0.00/0.22)	

CMYK percentages

%21.5
%32.5
%0
%21.57

Codes

Color #9D87C8 in popluar color models

9D87C8
RGB157135200
HSL260°37.14%65.69%
HSB/HSV260°32.50%78.43%
CMYK21.50%32.50%0.00%
21.57%

Color #9D87C8 in popluar number systems.

HEX9D87C8
Decimal157135200
Binary100111011000011111001000
Octal235207310

Shades and tints

Shades of #9D87C8

#9D87C8
(157,135,200)
#8F7BB6
(143,123,182)
#816FA4
(129,111,164)
#736392
(115,99,146)
#655780
(101,87,128)
#574B6E
(87,75,110)
#493F5C
(73,63,92)
#3B334A
(59,51,74)
#2D2738
(45,39,56)
#1F1B26
(31,27,38)
#110F14
(17,15,20)
#000000
(0,0,0)

Tints of #9D87C8

#9D87C8
(157,135,200)
#A591CD
(165,145,205)
#AD9BD2
(173,155,210)
#B5A5D7
(181,165,215)
#BDAFDC
(189,175,220)
#C5B9E1
(197,185,225)
#CDC3E6
(205,195,230)
#D5CDEB
(213,205,235)
#DDD7F0
(221,215,240)
#E5E1F5
(229,225,245)
#EDEBFA
(237,235,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9D87C8; }

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

This text font color is #9D87C8.


Background Color

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

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

This div background color is #9D87C8.


Border color

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

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

This div border color is #9D87C8.


Opacity

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

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

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

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

This text has shadow with #9D87C8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D87C8 on black background.


Color preview on white background

This text has color #9D87C8 on white background.



Black color preview on #9D87C8 background

This text has black color on #9D87C8 background.


White color preview on #9D87C8 background

This text has white color on #9D87C8 background.