COLOR #9D5A7E

HEX: #9D5A7E
RGB: (157,90,126)

Color info

#9D5A7E contains mainly red and blue colors. Web safe color of #9D5A7E is #996666 (or #966).

RGB color model

#9D5A7E color RGB value is (157,90,126).

  • red value is 157;
  • green value is 90;
  • blue value is 126.
RGB:
(157,90,126)
(62%,35%,49%)

RGB channels and saturation

R 157 of 255 = 62%
G 90 of 255 = 35%
B 126 of 255 = 49%

157
90
126

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

Portions of RGB colors in percentages

R + G + B =
157 + 90 + 126 = 373 (100%)
R 157 of 373 ~ 42.09%
G 90 of 373 ~ 24.13%
B 126 of 373 ~ 33.78%

%42.09
%24.13
%33.78

CMYK color model

#9D5A7E color CMYK value is (0,43,20,38).

  • cyan value is 0.00%
  • magenta value is 42.68%
  • yellow value is 19.75%
  • key color value is 38.43%
CMYK:
(0,43,20,38)
C0M43Y20K38 
(0%,43%,20%,38%)
(0.00/0.43/0.20/0.38)	

CMYK percentages

%0
%42.68
%19.75
%38.43

Codes

Color #9D5A7E in popluar color models

9D5A7E
RGB15790126
HSL328°27.13%48.43%
HSB/HSV328°42.68%61.57%
CMYK0.00%42.68%19.75%
38.43%

Color #9D5A7E in popluar number systems.

HEX9D5A7E
Decimal15790126
Binary1001110110110101111110
Octal235132176

Shades and tints

Shades of #9D5A7E

#9D5A7E
(157,90,126)
#8F5273
(143,82,115)
#814A68
(129,74,104)
#73425D
(115,66,93)
#653A52
(101,58,82)
#573247
(87,50,71)
#492A3C
(73,42,60)
#3B2231
(59,34,49)
#2D1A26
(45,26,38)
#1F121B
(31,18,27)
#110A10
(17,10,16)
#000000
(0,0,0)

Tints of #9D5A7E

#9D5A7E
(157,90,126)
#A56989
(165,105,137)
#AD7894
(173,120,148)
#B5879F
(181,135,159)
#BD96AA
(189,150,170)
#C5A5B5
(197,165,181)
#CDB4C0
(205,180,192)
#D5C3CB
(213,195,203)
#DDD2D6
(221,210,214)
#E5E1E1
(229,225,225)
#EDF0EC
(237,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5A7E color. Also use rgb(157,90,126) instead hex code.

Text Font Color

.myTextColor { color: #9D5A7E; }

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

This text font color is #9D5A7E.


Background Color

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

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

This div background color is #9D5A7E.


Border color

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

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

This div border color is #9D5A7E.


Opacity

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

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

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

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

This text has shadow with #9D5A7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D5A7E on black background.


Color preview on white background

This text has color #9D5A7E on white background.



Black color preview on #9D5A7E background

This text has black color on #9D5A7E background.


White color preview on #9D5A7E background

This text has white color on #9D5A7E background.