COLOR #5B5171

HEX: #5B5171 RGB: (91,81,113)

Color info

#5B5171 contains red, green and blue colors in about the same proportion. Web safe color of #5B5171 is #666666 (or #666).

RGB color model

#5B5171 color RGB value is (91,81,113).

RGB: (91,81,113) (36%, 32%, 44%)

RGB channels and saturation

R 91 of 255 = 36%
G 81 of 255 = 32%
B 113 of 255 = 44%

91
81
113

R + G + B ~ 37%. #5B5171 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 91 + 81 + 113 = 285 (100%)
R 91 of 285 ~ 31.93%
G 81 of 285 ~ 28.42%
B 113 of 285 ~ 39.65'%

%31.93
%28.42
%39.65

CMYK color model

#5B5171 color CMYK value is (19,28,0,56).

  • cyan value is 19.47%
  • magenta value is 28.32%
  • yellow value is 0.00%
  • key color value is 55.69%

CMYK: (19,28,0,56)
C19M28Y0K56 (19%, 28%, 0%, 56%)
(0.19 / 0.28 / 0.00 / 0.56)

CMYK percentages

%19.47
%28.32
%0
%55.69

Codes

Color #5B5171 in popluar color models

5B 51 71
RGB 91 81 113
HSL 259° 16.49% 38.04%
HSB/HSV 259° 28.32% 44.31%
CMYK 19.47% 28.32% 0.00%
55.69%

Color #5B5171 in popluar number systems.

HEX 5B 51 71
Decimal 91 81 113
Binary 1011011 1010001 1110001
Octal 133 121 161

Shades and tints

Shades of #5B5171

#5B5171
(91,81,113)
#534A67
(83,74,103)
#4B435D
(75,67,93)
#433C53
(67,60,83)
#3B3549
(59,53,73)
#332E3F
(51,46,63)
#2B2735
(43,39,53)
#23202B
(35,32,43)
#1B1921
(27,25,33)
#131217
(19,18,23)
#0B0B0D
(11,11,13)
#000000
(0,0,0)

Tints of #5B5171

#5B5171
(91,81,113)
#69607D
(105,96,125)
#776F89
(119,111,137)
#857E95
(133,126,149)
#938DA1
(147,141,161)
#A19CAD
(161,156,173)
#AFABB9
(175,171,185)
#BDBAC5
(189,186,197)
#CBC9D1
(203,201,209)
#D9D8DD
(217,216,221)
#E7E7E9
(231,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B5171 color. Also use rgb(91,81,113) instead hex code.

Text Font Color

.myTextColor { color: #5B5171; }

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

This text font color is #5B5171.

Background Color

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

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

This div background color is #5B5171.

Border color

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

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

This div border color is #5B5171.

Opacity

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

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

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

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

This text has shadow with #5B5171 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B5171.

Preview

Color preview on black background

This text has color #5B5171 on black background.


Color preview on white background

This text has color #5B5171 on white background.


Black color preview on #5B5171 background

This text has black color on #5B5171 background.


White color preview on #5B5171 background

This text has white color on #5B5171 background.


Related colors

Complementary color

Complementary color for #hex is #A4AE8E.


I love getcolorcode.com

Triadic colors

1 #715B51 and #51715B with #5B5171 are triadic colors.

2 #71515B and #515B71 with #5B5171 are triadic colors.