COLOR #5B5789

HEX: #5B5789
RGB: (91,87,137)

Color info

#5B5789 contains red, green and blue colors in about the same proportion. Web safe color of #5B5789 is #666699 (or #669).

RGB color model

#5B5789 color RGB value is (91,87,137).

  • red value is 91;
  • green value is 87;
  • blue value is 137.
RGB:
(91,87,137)
(36%,34%,54%)

RGB channels and saturation

R 91 of 255 = 36%
G 87 of 255 = 34%
B 137 of 255 = 54%

91
87
137

R + G + B ~ 41%. #5B5789 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
91 + 87 + 137 = 315 (100%)
R 91 of 315 ~ 28.89%
G 87 of 315 ~ 27.62%
B 137 of 315 ~ 43.49%

%28.89
%27.62
%43.49

CMYK color model

#5B5789 color CMYK value is (34,36,0,46).

  • cyan value is 33.58%
  • magenta value is 36.50%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK:
(34,36,0,46)
C34M36Y0K46 
(34%,36%,0%,46%)
(0.34/0.36/0.00/0.46)	

CMYK percentages

%33.58
%36.5
%0
%46.27

Codes

Color #5B5789 in popluar color models

5B5789
RGB9187137
HSL245°22.32%43.92%
HSB/HSV245°36.50%53.73%
CMYK33.58%36.50%0.00%
46.27%

Color #5B5789 in popluar number systems.

HEX5B5789
Decimal9187137
Binary1011011101011110001001
Octal133127211

Shades and tints

Shades of #5B5789

#5B5789
(91,87,137)
#53507D
(83,80,125)
#4B4971
(75,73,113)
#434265
(67,66,101)
#3B3B59
(59,59,89)
#33344D
(51,52,77)
#2B2D41
(43,45,65)
#232635
(35,38,53)
#1B1F29
(27,31,41)
#13181D
(19,24,29)
#0B1111
(11,17,17)
#000000
(0,0,0)

Tints of #5B5789

#5B5789
(91,87,137)
#696693
(105,102,147)
#77759D
(119,117,157)
#8584A7
(133,132,167)
#9393B1
(147,147,177)
#A1A2BB
(161,162,187)
#AFB1C5
(175,177,197)
#BDC0CF
(189,192,207)
#CBCFD9
(203,207,217)
#D9DEE3
(217,222,227)
#E7EDED
(231,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B5789 color. Also use rgb(91,87,137) instead hex code.

Text Font Color

.myTextColor { color: #5B5789; }

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

This text font color is #5B5789.


Background Color

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

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

This div background color is #5B5789.


Border color

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

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

This div border color is #5B5789.


Opacity

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

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

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

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

This text has shadow with #5B5789 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B5789 on black background.


Color preview on white background

This text has color #5B5789 on white background.



Black color preview on #5B5789 background

This text has black color on #5B5789 background.


White color preview on #5B5789 background

This text has white color on #5B5789 background.