COLOR #9D5F99

HEX: #9D5F99
RGB: (157,95,153)

Color info

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

RGB color model

#9D5F99 color RGB value is (157,95,153).

  • red value is 157;
  • green value is 95;
  • blue value is 153.
RGB:
(157,95,153)
(62%,37%,60%)

RGB channels and saturation

R 157 of 255 = 62%
G 95 of 255 = 37%
B 153 of 255 = 60%

157
95
153

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

Portions of RGB colors in percentages

R + G + B =
157 + 95 + 153 = 405 (100%)
R 157 of 405 ~ 38.77%
G 95 of 405 ~ 23.46%
B 153 of 405 ~ 37.78%

%38.77
%23.46
%37.78

CMYK color model

#9D5F99 color CMYK value is (0,39,3,38).

  • cyan value is 0.00%
  • magenta value is 39.49%
  • yellow value is 2.55%
  • key color value is 38.43%
CMYK:
(0,39,3,38)
C0M39Y3K38 
(0%,39%,3%,38%)
(0.00/0.39/0.03/0.38)	

CMYK percentages

%0
%39.49
%2.55
%38.43

Codes

Color #9D5F99 in popluar color models

9D5F99
RGB15795153
HSL304°24.60%49.41%
HSB/HSV304°39.49%61.57%
CMYK0.00%39.49%2.55%
38.43%

Color #9D5F99 in popluar number systems.

HEX9D5F99
Decimal15795153
Binary10011101101111110011001
Octal235137231

Shades and tints

Shades of #9D5F99

#9D5F99
(157,95,153)
#8F578C
(143,87,140)
#814F7F
(129,79,127)
#734772
(115,71,114)
#653F65
(101,63,101)
#573758
(87,55,88)
#492F4B
(73,47,75)
#3B273E
(59,39,62)
#2D1F31
(45,31,49)
#1F1724
(31,23,36)
#110F17
(17,15,23)
#000000
(0,0,0)

Tints of #9D5F99

#9D5F99
(157,95,153)
#A56DA2
(165,109,162)
#AD7BAB
(173,123,171)
#B589B4
(181,137,180)
#BD97BD
(189,151,189)
#C5A5C6
(197,165,198)
#CDB3CF
(205,179,207)
#D5C1D8
(213,193,216)
#DDCFE1
(221,207,225)
#E5DDEA
(229,221,234)
#EDEBF3
(237,235,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5F99 color. Also use rgb(157,95,153) instead hex code.

Text Font Color

.myTextColor { color: #9D5F99; }

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

This text font color is #9D5F99.


Background Color

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

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

This div background color is #9D5F99.


Border color

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

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

This div border color is #9D5F99.


Opacity

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

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

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

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

This text has shadow with #9D5F99 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D5F99 on black background.


Color preview on white background

This text has color #9D5F99 on white background.



Black color preview on #9D5F99 background

This text has black color on #9D5F99 background.


White color preview on #9D5F99 background

This text has white color on #9D5F99 background.