COLOR #9F5F8D

HEX: #9F5F8D RGB: (159,95,141)

Color info

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

RGB color model

#9F5F8D color RGB value is (159,95,141).

RGB: (159,95,141) (62%, 37%, 55%)

RGB channels and saturation

R 159 of 255 = 62%
G 95 of 255 = 37%
B 141 of 255 = 55%

159
95
141

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

Portions of RGB colors in percentages

R + G + B = 159 + 95 + 141 = 395 (100%)
R 159 of 395 ~ 40.25%
G 95 of 395 ~ 24.05%
B 141 of 395 ~ 35.7'%

%40.25
%24.05
%35.7

CMYK color model

#9F5F8D color CMYK value is (0,40,11,38).

  • cyan value is 0.00%
  • magenta value is 40.25%
  • yellow value is 11.32%
  • key color value is 37.65%

CMYK: (0,40,11,38)
C0M40Y11K38 (0%, 40%, 11%, 38%)
(0.00 / 0.40 / 0.11 / 0.38)

CMYK percentages

%0
%40.25
%11.32
%37.65

Codes

Color #9F5F8D in popluar color models

9F 5F 8D
RGB 159 95 141
HSL 317° 25.20% 49.80%
HSB/HSV 317° 40.25% 62.35%
CMYK 0.00% 40.25% 11.32%
37.65%

Color #9F5F8D in popluar number systems.

HEX 9F 5F 8D
Decimal 159 95 141
Binary 10011111 1011111 10001101
Octal 237 137 215

Shades and tints

Shades of #9F5F8D

#9F5F8D
(159,95,141)
#915781
(145,87,129)
#834F75
(131,79,117)
#754769
(117,71,105)
#673F5D
(103,63,93)
#593751
(89,55,81)
#4B2F45
(75,47,69)
#3D2739
(61,39,57)
#2F1F2D
(47,31,45)
#211721
(33,23,33)
#130F15
(19,15,21)
#000000
(0,0,0)

Tints of #9F5F8D

#9F5F8D
(159,95,141)
#A76D97
(167,109,151)
#AF7BA1
(175,123,161)
#B789AB
(183,137,171)
#BF97B5
(191,151,181)
#C7A5BF
(199,165,191)
#CFB3C9
(207,179,201)
#D7C1D3
(215,193,211)
#DFCFDD
(223,207,221)
#E7DDE7
(231,221,231)
#EFEBF1
(239,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F5F8D color. Also use rgb(159,95,141) instead hex code.

Text Font Color

.myTextColor { color: #9F5F8D; }

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

This text font color is #9F5F8D.

Background Color

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

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

This div background color is #9F5F8D.

Border color

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

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

This div border color is #9F5F8D.

Opacity

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

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

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

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

This text has shadow with #9F5F8D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9F5F8D.

Preview

Color preview on black background

This text has color #9F5F8D on black background.


Color preview on white background

This text has color #9F5F8D on white background.


Black color preview on #9F5F8D background

This text has black color on #9F5F8D background.


White color preview on #9F5F8D background

This text has white color on #9F5F8D background.


Related colors

Complementary color

Complementary color for #hex is #60A072.


I love getcolorcode.com

Triadic colors

1 #8D9F5F and #5F8D9F with #9F5F8D are triadic colors.

2 #8D5F9F and #5F9F8D with #9F5F8D are triadic colors.