COLOR #9B5796

HEX: #9B5796
RGB: (155,87,150)

Color info

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

RGB color model

#9B5796 color RGB value is (155,87,150).

  • red value is 155;
  • green value is 87;
  • blue value is 150.
RGB:
(155,87,150)
(61%,34%,59%)

RGB channels and saturation

R 155 of 255 = 61%
G 87 of 255 = 34%
B 150 of 255 = 59%

155
87
150

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

Portions of RGB colors in percentages

R + G + B =
155 + 87 + 150 = 392 (100%)
R 155 of 392 ~ 39.54%
G 87 of 392 ~ 22.19%
B 150 of 392 ~ 38.27%

%39.54
%22.19
%38.27

CMYK color model

#9B5796 color CMYK value is (0,44,3,39).

  • cyan value is 0.00%
  • magenta value is 43.87%
  • yellow value is 3.23%
  • key color value is 39.22%
CMYK:
(0,44,3,39)
C0M44Y3K39 
(0%,44%,3%,39%)
(0.00/0.44/0.03/0.39)	

CMYK percentages

%0
%43.87
%3.23
%39.22

Codes

Color #9B5796 in popluar color models

9B5796
RGB15587150
HSL304°28.10%47.45%
HSB/HSV304°43.87%60.78%
CMYK0.00%43.87%3.23%
39.22%

Color #9B5796 in popluar number systems.

HEX9B5796
Decimal15587150
Binary10011011101011110010110
Octal233127226

Shades and tints

Shades of #9B5796

#9B5796
(155,87,150)
#8D5089
(141,80,137)
#7F497C
(127,73,124)
#71426F
(113,66,111)
#633B62
(99,59,98)
#553455
(85,52,85)
#472D48
(71,45,72)
#39263B
(57,38,59)
#2B1F2E
(43,31,46)
#1D1821
(29,24,33)
#0F1114
(15,17,20)
#000000
(0,0,0)

Tints of #9B5796

#9B5796
(155,87,150)
#A4669F
(164,102,159)
#AD75A8
(173,117,168)
#B684B1
(182,132,177)
#BF93BA
(191,147,186)
#C8A2C3
(200,162,195)
#D1B1CC
(209,177,204)
#DAC0D5
(218,192,213)
#E3CFDE
(227,207,222)
#ECDEE7
(236,222,231)
#F5EDF0
(245,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9B5796 color. Also use rgb(155,87,150) instead hex code.

Text Font Color

.myTextColor { color: #9B5796; }

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

This text font color is #9B5796.


Background Color

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

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

This div background color is #9B5796.


Border color

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

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

This div border color is #9B5796.


Opacity

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

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

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

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

This text has shadow with #9B5796 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9B5796 on black background.


Color preview on white background

This text has color #9B5796 on white background.



Black color preview on #9B5796 background

This text has black color on #9B5796 background.


White color preview on #9B5796 background

This text has white color on #9B5796 background.