COLOR #9F5981

HEX: #9F5981
RGB: (159,89,129)

Color info

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

RGB color model

#9F5981 color RGB value is (159,89,129).

  • red value is 159;
  • green value is 89;
  • blue value is 129.
RGB:
(159,89,129)
(62%,35%,51%)

RGB channels and saturation

R 159 of 255 = 62%
G 89 of 255 = 35%
B 129 of 255 = 51%

159
89
129

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

Portions of RGB colors in percentages

R + G + B =
159 + 89 + 129 = 377 (100%)
R 159 of 377 ~ 42.18%
G 89 of 377 ~ 23.61%
B 129 of 377 ~ 34.22%

%42.18
%23.61
%34.22

CMYK color model

#9F5981 color CMYK value is (0,44,19,38).

  • cyan value is 0.00%
  • magenta value is 44.03%
  • yellow value is 18.87%
  • key color value is 37.65%
CMYK:
(0,44,19,38)
C0M44Y19K38 
(0%,44%,19%,38%)
(0.00/0.44/0.19/0.38)	

CMYK percentages

%0
%44.03
%18.87
%37.65

Codes

Color #9F5981 in popluar color models

9F5981
RGB15989129
HSL326°28.23%48.63%
HSB/HSV326°44.03%62.35%
CMYK0.00%44.03%18.87%
37.65%

Color #9F5981 in popluar number systems.

HEX9F5981
Decimal15989129
Binary10011111101100110000001
Octal237131201

Shades and tints

Shades of #9F5981

#9F5981
(159,89,129)
#915176
(145,81,118)
#83496B
(131,73,107)
#754160
(117,65,96)
#673955
(103,57,85)
#59314A
(89,49,74)
#4B293F
(75,41,63)
#3D2134
(61,33,52)
#2F1929
(47,25,41)
#21111E
(33,17,30)
#130913
(19,9,19)
#000000
(0,0,0)

Tints of #9F5981

#9F5981
(159,89,129)
#A7688C
(167,104,140)
#AF7797
(175,119,151)
#B786A2
(183,134,162)
#BF95AD
(191,149,173)
#C7A4B8
(199,164,184)
#CFB3C3
(207,179,195)
#D7C2CE
(215,194,206)
#DFD1D9
(223,209,217)
#E7E0E4
(231,224,228)
#EFEFEF
(239,239,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F5981 color. Also use rgb(159,89,129) instead hex code.

Text Font Color

.myTextColor { color: #9F5981; }

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

This text font color is #9F5981.


Background Color

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

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

This div background color is #9F5981.


Border color

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

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

This div border color is #9F5981.


Opacity

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

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

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

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

This text has shadow with #9F5981 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9F5981 on black background.


Color preview on white background

This text has color #9F5981 on white background.



Black color preview on #9F5981 background

This text has black color on #9F5981 background.


White color preview on #9F5981 background

This text has white color on #9F5981 background.