COLOR #9D8AB5

HEX: #9D8AB5
RGB: (157,138,181)

Color info

#9D8AB5 contains red, green and blue colors in about the same proportion. Web safe color of #9D8AB5 is #9999CC (or #99C).

RGB color model

#9D8AB5 color RGB value is (157,138,181).

  • red value is 157;
  • green value is 138;
  • blue value is 181.
RGB:
(157,138,181)
(62%,54%,71%)

RGB channels and saturation

R 157 of 255 = 62%
G 138 of 255 = 54%
B 181 of 255 = 71%

157
138
181

R + G + B ~ 62%. #9D8AB5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
157 + 138 + 181 = 476 (100%)
R 157 of 476 ~ 32.98%
G 138 of 476 ~ 28.99%
B 181 of 476 ~ 38.03%

%32.98
%28.99
%38.03

CMYK color model

#9D8AB5 color CMYK value is (13,24,0,29).

  • cyan value is 13.26%
  • magenta value is 23.76%
  • yellow value is 0.00%
  • key color value is 29.02%
CMYK:
(13,24,0,29)
C13M24Y0K29 
(13%,24%,0%,29%)
(0.13/0.24/0.00/0.29)	

CMYK percentages

%13.26
%23.76
%0
%29.02

Codes

Color #9D8AB5 in popluar color models

9D8AB5
RGB157138181
HSL267°22.51%62.55%
HSB/HSV267°23.76%70.98%
CMYK13.26%23.76%0.00%
29.02%

Color #9D8AB5 in popluar number systems.

HEX9D8AB5
Decimal157138181
Binary100111011000101010110101
Octal235212265

Shades and tints

Shades of #9D8AB5

#9D8AB5
(157,138,181)
#8F7EA5
(143,126,165)
#817295
(129,114,149)
#736685
(115,102,133)
#655A75
(101,90,117)
#574E65
(87,78,101)
#494255
(73,66,85)
#3B3645
(59,54,69)
#2D2A35
(45,42,53)
#1F1E25
(31,30,37)
#111215
(17,18,21)
#000000
(0,0,0)

Tints of #9D8AB5

#9D8AB5
(157,138,181)
#A594BB
(165,148,187)
#AD9EC1
(173,158,193)
#B5A8C7
(181,168,199)
#BDB2CD
(189,178,205)
#C5BCD3
(197,188,211)
#CDC6D9
(205,198,217)
#D5D0DF
(213,208,223)
#DDDAE5
(221,218,229)
#E5E4EB
(229,228,235)
#EDEEF1
(237,238,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D8AB5 color. Also use rgb(157,138,181) instead hex code.

Text Font Color

.myTextColor { color: #9D8AB5; }

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

This text font color is #9D8AB5.


Background Color

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

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

This div background color is #9D8AB5.


Border color

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

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

This div border color is #9D8AB5.


Opacity

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

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

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

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

This text has shadow with #9D8AB5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D8AB5 on black background.


Color preview on white background

This text has color #9D8AB5 on white background.



Black color preview on #9D8AB5 background

This text has black color on #9D8AB5 background.


White color preview on #9D8AB5 background

This text has white color on #9D8AB5 background.