COLOR #9F5A78

HEX: #9F5A78
RGB: (159,90,120)

Color info

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

RGB color model

#9F5A78 color RGB value is (159,90,120).

  • red value is 159;
  • green value is 90;
  • blue value is 120.
RGB:
(159,90,120)
(62%,35%,47%)

RGB channels and saturation

R 159 of 255 = 62%
G 90 of 255 = 35%
B 120 of 255 = 47%

159
90
120

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

Portions of RGB colors in percentages

R + G + B =
159 + 90 + 120 = 369 (100%)
R 159 of 369 ~ 43.09%
G 90 of 369 ~ 24.39%
B 120 of 369 ~ 32.52%

%43.09
%24.39
%32.52

CMYK color model

#9F5A78 color CMYK value is (0,43,25,38).

  • cyan value is 0.00%
  • magenta value is 43.40%
  • yellow value is 24.53%
  • key color value is 37.65%
CMYK:
(0,43,25,38)
C0M43Y25K38 
(0%,43%,25%,38%)
(0.00/0.43/0.25/0.38)	

CMYK percentages

%0
%43.4
%24.53
%37.65

Codes

Color #9F5A78 in popluar color models

9F5A78
RGB15990120
HSL334°27.71%48.82%
HSB/HSV334°43.40%62.35%
CMYK0.00%43.40%24.53%
37.65%

Color #9F5A78 in popluar number systems.

HEX9F5A78
Decimal15990120
Binary1001111110110101111000
Octal237132170

Shades and tints

Shades of #9F5A78

#9F5A78
(159,90,120)
#91526E
(145,82,110)
#834A64
(131,74,100)
#75425A
(117,66,90)
#673A50
(103,58,80)
#593246
(89,50,70)
#4B2A3C
(75,42,60)
#3D2232
(61,34,50)
#2F1A28
(47,26,40)
#21121E
(33,18,30)
#130A14
(19,10,20)
#000000
(0,0,0)

Tints of #9F5A78

#9F5A78
(159,90,120)
#A76984
(167,105,132)
#AF7890
(175,120,144)
#B7879C
(183,135,156)
#BF96A8
(191,150,168)
#C7A5B4
(199,165,180)
#CFB4C0
(207,180,192)
#D7C3CC
(215,195,204)
#DFD2D8
(223,210,216)
#E7E1E4
(231,225,228)
#EFF0F0
(239,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F5A78 color. Also use rgb(159,90,120) instead hex code.

Text Font Color

.myTextColor { color: #9F5A78; }

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

This text font color is #9F5A78.


Background Color

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

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

This div background color is #9F5A78.


Border color

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

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

This div border color is #9F5A78.


Opacity

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

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

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

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

This text has shadow with #9F5A78 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9F5A78 on black background.


Color preview on white background

This text has color #9F5A78 on white background.



Black color preview on #9F5A78 background

This text has black color on #9F5A78 background.


White color preview on #9F5A78 background

This text has white color on #9F5A78 background.