COLOR #9D5E9C

HEX: #9D5E9C
RGB: (157,94,156)

Color info

#9D5E9C contains mainly red and blue colors. Web safe color of #9D5E9C is #996699 (or #969).

RGB color model

#9D5E9C color RGB value is (157,94,156).

  • red value is 157;
  • green value is 94;
  • blue value is 156.
RGB:
(157,94,156)
(62%,37%,61%)

RGB channels and saturation

R 157 of 255 = 62%
G 94 of 255 = 37%
B 156 of 255 = 61%

157
94
156

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

Portions of RGB colors in percentages

R + G + B =
157 + 94 + 156 = 407 (100%)
R 157 of 407 ~ 38.57%
G 94 of 407 ~ 23.1%
B 156 of 407 ~ 38.33%

%38.57
%23.1
%38.33

CMYK color model

#9D5E9C color CMYK value is (0,40,1,38).

  • cyan value is 0.00%
  • magenta value is 40.13%
  • yellow value is 0.64%
  • key color value is 38.43%
CMYK:
(0,40,1,38)
C0M40Y1K38 
(0%,40%,1%,38%)
(0.00/0.40/0.01/0.38)	

CMYK percentages

%0
%40.13
%0.64
%38.43

Codes

Color #9D5E9C in popluar color models

9D5E9C
RGB15794156
HSL301°25.10%49.22%
HSB/HSV301°40.13%61.57%
CMYK0.00%40.13%0.64%
38.43%

Color #9D5E9C in popluar number systems.

HEX9D5E9C
Decimal15794156
Binary10011101101111010011100
Octal235136234

Shades and tints

Shades of #9D5E9C

#9D5E9C
(157,94,156)
#8F568E
(143,86,142)
#814E80
(129,78,128)
#734672
(115,70,114)
#653E64
(101,62,100)
#573656
(87,54,86)
#492E48
(73,46,72)
#3B263A
(59,38,58)
#2D1E2C
(45,30,44)
#1F161E
(31,22,30)
#110E10
(17,14,16)
#000000
(0,0,0)

Tints of #9D5E9C

#9D5E9C
(157,94,156)
#A56CA5
(165,108,165)
#AD7AAE
(173,122,174)
#B588B7
(181,136,183)
#BD96C0
(189,150,192)
#C5A4C9
(197,164,201)
#CDB2D2
(205,178,210)
#D5C0DB
(213,192,219)
#DDCEE4
(221,206,228)
#E5DCED
(229,220,237)
#EDEAF6
(237,234,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5E9C color. Also use rgb(157,94,156) instead hex code.

Text Font Color

.myTextColor { color: #9D5E9C; }

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

This text font color is #9D5E9C.


Background Color

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

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

This div background color is #9D5E9C.


Border color

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

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

This div border color is #9D5E9C.


Opacity

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

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

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

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

This text has shadow with #9D5E9C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D5E9C on black background.


Color preview on white background

This text has color #9D5E9C on white background.



Black color preview on #9D5E9C background

This text has black color on #9D5E9C background.


White color preview on #9D5E9C background

This text has white color on #9D5E9C background.