COLOR #5B5A8B

HEX: #5B5A8B
RGB: (91,90,139)

Color info

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

RGB color model

#5B5A8B color RGB value is (91,90,139).

  • red value is 91;
  • green value is 90;
  • blue value is 139.
RGB:
(91,90,139)
(36%,35%,55%)

RGB channels and saturation

R 91 of 255 = 36%
G 90 of 255 = 35%
B 139 of 255 = 55%

91
90
139

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

Portions of RGB colors in percentages

R + G + B =
91 + 90 + 139 = 320 (100%)
R 91 of 320 ~ 28.44%
G 90 of 320 ~ 28.13%
B 139 of 320 ~ 43.44%

%28.44
%28.13
%43.44

CMYK color model

#5B5A8B color CMYK value is (35,35,0,45).

  • cyan value is 34.53%
  • magenta value is 35.25%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(35,35,0,45)
C35M35Y0K45 
(35%,35%,0%,45%)
(0.35/0.35/0.00/0.45)	

CMYK percentages

%34.53
%35.25
%0
%45.49

Codes

Color #5B5A8B in popluar color models

5B5A8B
RGB9190139
HSL241°21.40%44.90%
HSB/HSV241°35.25%54.51%
CMYK34.53%35.25%0.00%
45.49%

Color #5B5A8B in popluar number systems.

HEX5B5A8B
Decimal9190139
Binary1011011101101010001011
Octal133132213

Shades and tints

Shades of #5B5A8B

#5B5A8B
(91,90,139)
#53527F
(83,82,127)
#4B4A73
(75,74,115)
#434267
(67,66,103)
#3B3A5B
(59,58,91)
#33324F
(51,50,79)
#2B2A43
(43,42,67)
#232237
(35,34,55)
#1B1A2B
(27,26,43)
#13121F
(19,18,31)
#0B0A13
(11,10,19)
#000000
(0,0,0)

Tints of #5B5A8B

#5B5A8B
(91,90,139)
#696995
(105,105,149)
#77789F
(119,120,159)
#8587A9
(133,135,169)
#9396B3
(147,150,179)
#A1A5BD
(161,165,189)
#AFB4C7
(175,180,199)
#BDC3D1
(189,195,209)
#CBD2DB
(203,210,219)
#D9E1E5
(217,225,229)
#E7F0EF
(231,240,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B5A8B color. Also use rgb(91,90,139) instead hex code.

Text Font Color

.myTextColor { color: #5B5A8B; }

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

This text font color is #5B5A8B.


Background Color

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

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

This div background color is #5B5A8B.


Border color

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

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

This div border color is #5B5A8B.


Opacity

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

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

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

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

This text has shadow with #5B5A8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B5A8B on black background.


Color preview on white background

This text has color #5B5A8B on white background.



Black color preview on #5B5A8B background

This text has black color on #5B5A8B background.


White color preview on #5B5A8B background

This text has white color on #5B5A8B background.