COLOR #5B5781

HEX: #5B5781 RGB: (91,87,129)

Color info

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

RGB color model

#5B5781 color RGB value is (91,87,129).

RGB: (91,87,129) (36%, 34%, 51%)

RGB channels and saturation

R 91 of 255 = 36%
G 87 of 255 = 34%
B 129 of 255 = 51%

91
87
129

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

Portions of RGB colors in percentages

R + G + B = 91 + 87 + 129 = 307 (100%)
R 91 of 307 ~ 29.64%
G 87 of 307 ~ 28.34%
B 129 of 307 ~ 42.02'%

%29.64
%28.34
%42.02

CMYK color model

#5B5781 color CMYK value is (29,33,0,49).

  • cyan value is 29.46%
  • magenta value is 32.56%
  • yellow value is 0.00%
  • key color value is 49.41%

CMYK: (29,33,0,49)
C29M33Y0K49 (29%, 33%, 0%, 49%)
(0.29 / 0.33 / 0.00 / 0.49)

CMYK percentages

%29.46
%32.56
%0
%49.41

Codes

Color #5B5781 in popluar color models

5B 57 81
RGB 91 87 129
HSL 246° 19.44% 42.35%
HSB/HSV 246° 32.56% 50.59%
CMYK 29.46% 32.56% 0.00%
49.41%

Color #5B5781 in popluar number systems.

HEX 5B 57 81
Decimal 91 87 129
Binary 1011011 1010111 10000001
Octal 133 127 201

Shades and tints

Shades of #5B5781

#5B5781
(91,87,129)
#535076
(83,80,118)
#4B496B
(75,73,107)
#434260
(67,66,96)
#3B3B55
(59,59,85)
#33344A
(51,52,74)
#2B2D3F
(43,45,63)
#232634
(35,38,52)
#1B1F29
(27,31,41)
#13181E
(19,24,30)
#0B1113
(11,17,19)
#000000
(0,0,0)

Tints of #5B5781

#5B5781
(91,87,129)
#69668C
(105,102,140)
#777597
(119,117,151)
#8584A2
(133,132,162)
#9393AD
(147,147,173)
#A1A2B8
(161,162,184)
#AFB1C3
(175,177,195)
#BDC0CE
(189,192,206)
#CBCFD9
(203,207,217)
#D9DEE4
(217,222,228)
#E7EDEF
(231,237,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B5781; }

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

This text font color is #5B5781.

Background Color

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

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

This div background color is #5B5781.

Border color

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

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

This div border color is #5B5781.

Opacity

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

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

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

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

This text has shadow with #5B5781 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B5781.

Preview

Color preview on black background

This text has color #5B5781 on black background.


Color preview on white background

This text has color #5B5781 on white background.


Black color preview on #5B5781 background

This text has black color on #5B5781 background.


White color preview on #5B5781 background

This text has white color on #5B5781 background.


Related colors

Complementary color

Complementary color for #hex is #A4A87E.


I love getcolorcode.com

Triadic colors

1 #815B57 and #57815B with #5B5781 are triadic colors.

2 #81575B and #575B81 with #5B5781 are triadic colors.