COLOR #9B5C9E

HEX: #9B5C9E
RGB: (155,92,158)

Color info

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

RGB color model

#9B5C9E color RGB value is (155,92,158).

  • red value is 155;
  • green value is 92;
  • blue value is 158.
RGB:
(155,92,158)
(61%,36%,62%)

RGB channels and saturation

R 155 of 255 = 61%
G 92 of 255 = 36%
B 158 of 255 = 62%

155
92
158

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

Portions of RGB colors in percentages

R + G + B =
155 + 92 + 158 = 405 (100%)
R 155 of 405 ~ 38.27%
G 92 of 405 ~ 22.72%
B 158 of 405 ~ 39.01%

%38.27
%22.72
%39.01

CMYK color model

#9B5C9E color CMYK value is (2,42,0,38).

  • cyan value is 1.90%
  • magenta value is 41.77%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(2,42,0,38)
C2M42Y0K38 
(2%,42%,0%,38%)
(0.02/0.42/0.00/0.38)	

CMYK percentages

%1.9
%41.77
%0
%38.04

Codes

Color #9B5C9E in popluar color models

9B5C9E
RGB15592158
HSL297°26.40%49.02%
HSB/HSV297°41.77%61.96%
CMYK1.90%41.77%0.00%
38.04%

Color #9B5C9E in popluar number systems.

HEX9B5C9E
Decimal15592158
Binary10011011101110010011110
Octal233134236

Shades and tints

Shades of #9B5C9E

#9B5C9E
(155,92,158)
#8D5490
(141,84,144)
#7F4C82
(127,76,130)
#714474
(113,68,116)
#633C66
(99,60,102)
#553458
(85,52,88)
#472C4A
(71,44,74)
#39243C
(57,36,60)
#2B1C2E
(43,28,46)
#1D1420
(29,20,32)
#0F0C12
(15,12,18)
#000000
(0,0,0)

Tints of #9B5C9E

#9B5C9E
(155,92,158)
#A46AA6
(164,106,166)
#AD78AE
(173,120,174)
#B686B6
(182,134,182)
#BF94BE
(191,148,190)
#C8A2C6
(200,162,198)
#D1B0CE
(209,176,206)
#DABED6
(218,190,214)
#E3CCDE
(227,204,222)
#ECDAE6
(236,218,230)
#F5E8EE
(245,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9B5C9E color. Also use rgb(155,92,158) instead hex code.

Text Font Color

.myTextColor { color: #9B5C9E; }

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

This text font color is #9B5C9E.


Background Color

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

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

This div background color is #9B5C9E.


Border color

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

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

This div border color is #9B5C9E.


Opacity

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

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

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

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

This text has shadow with #9B5C9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9B5C9E on black background.


Color preview on white background

This text has color #9B5C9E on white background.



Black color preview on #9B5C9E background

This text has black color on #9B5C9E background.


White color preview on #9B5C9E background

This text has white color on #9B5C9E background.