COLOR #5B3796

HEX: #5B3796
RGB: (91,55,150)

Color info

#5B3796 contains mainly red and blue colors. Web safe color of #5B3796 is #663399 (or #639).

RGB color model

#5B3796 color RGB value is (91,55,150).

  • red value is 91;
  • green value is 55;
  • blue value is 150.
RGB:
(91,55,150)
(36%,22%,59%)

RGB channels and saturation

R 91 of 255 = 36%
G 55 of 255 = 22%
B 150 of 255 = 59%

91
55
150

R + G + B ~ 39%. #5B3796 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 55 + 150 = 296 (100%)
R 91 of 296 ~ 30.74%
G 55 of 296 ~ 18.58%
B 150 of 296 ~ 50.68%

%30.74
%18.58
%50.68

CMYK color model

#5B3796 color CMYK value is (39,63,0,41).

  • cyan value is 39.33%
  • magenta value is 63.33%
  • yellow value is 0.00%
  • key color value is 41.18%
CMYK:
(39,63,0,41)
C39M63Y0K41 
(39%,63%,0%,41%)
(0.39/0.63/0.00/0.41)	

CMYK percentages

%39.33
%63.33
%0
%41.18

Codes

Color #5B3796 in popluar color models

5B3796
RGB9155150
HSL263°46.34%40.20%
HSB/HSV263°63.33%58.82%
CMYK39.33%63.33%0.00%
41.18%

Color #5B3796 in popluar number systems.

HEX5B3796
Decimal9155150
Binary101101111011110010110
Octal13367226

Shades and tints

Shades of #5B3796

#5B3796
(91,55,150)
#533289
(83,50,137)
#4B2D7C
(75,45,124)
#43286F
(67,40,111)
#3B2362
(59,35,98)
#331E55
(51,30,85)
#2B1948
(43,25,72)
#23143B
(35,20,59)
#1B0F2E
(27,15,46)
#130A21
(19,10,33)
#0B0514
(11,5,20)
#000000
(0,0,0)

Tints of #5B3796

#5B3796
(91,55,150)
#69499F
(105,73,159)
#775BA8
(119,91,168)
#856DB1
(133,109,177)
#937FBA
(147,127,186)
#A191C3
(161,145,195)
#AFA3CC
(175,163,204)
#BDB5D5
(189,181,213)
#CBC7DE
(203,199,222)
#D9D9E7
(217,217,231)
#E7EBF0
(231,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B3796 color. Also use rgb(91,55,150) instead hex code.

Text Font Color

.myTextColor { color: #5B3796; }

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

This text font color is #5B3796.


Background Color

.myBgColor { background-color: #5B3796; }

<div style="background-color:#5B3796">Inner text</div>

This div background color is #5B3796.


Border color

.myBorderColor { border: 1px solid #5B3796; }

<div style="border:3px solid #5B3796">Div</div>

This div border color is #5B3796.


Opacity

.myOpacity80 { color: #5B3796; opacity: 0.8; }

<p style="color:#5B3796;opacity:0.8;">80%</p>

Text with #5B3796 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 #5B3796;}

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

This text has shadow with #5B3796 color.

.textShadow {text-shadow: 3px 3px 1px #5B3796, 3px 3px 1px red;}

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

This text has shadow with #5B3796 primary color and red secondary color.


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

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

This text has shadow with #5B3796 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B3796 on black background.


Color preview on white background

This text has color #5B3796 on white background.



Black color preview on #5B3796 background

This text has black color on #5B3796 background.


White color preview on #5B3796 background

This text has white color on #5B3796 background.