COLOR #5B797F

HEX: #5B797F
RGB: (91,121,127)

Color info

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

RGB color model

#5B797F color RGB value is (91,121,127).

  • red value is 91;
  • green value is 121;
  • blue value is 127.
RGB:
(91,121,127)
(36%,47%,50%)

RGB channels and saturation

R 91 of 255 = 36%
G 121 of 255 = 47%
B 127 of 255 = 50%

91
121
127

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

Portions of RGB colors in percentages

R + G + B =
91 + 121 + 127 = 339 (100%)
R 91 of 339 ~ 26.84%
G 121 of 339 ~ 35.69%
B 127 of 339 ~ 37.46%

%26.84
%35.69
%37.46

CMYK color model

#5B797F color CMYK value is (28,5,0,50).

  • cyan value is 28.35%
  • magenta value is 4.72%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(28,5,0,50)
C28M5Y0K50 
(28%,5%,0%,50%)
(0.28/0.05/0.00/0.50)	

CMYK percentages

%28.35
%4.72
%0
%50.2

Codes

Color #5B797F in popluar color models

5B797F
RGB91121127
HSL190°16.51%42.75%
HSB/HSV190°28.35%49.80%
CMYK28.35%4.72%0.00%
50.20%

Color #5B797F in popluar number systems.

HEX5B797F
Decimal91121127
Binary101101111110011111111
Octal133171177

Shades and tints

Shades of #5B797F

#5B797F
(91,121,127)
#536E74
(83,110,116)
#4B6369
(75,99,105)
#43585E
(67,88,94)
#3B4D53
(59,77,83)
#334248
(51,66,72)
#2B373D
(43,55,61)
#232C32
(35,44,50)
#1B2127
(27,33,39)
#13161C
(19,22,28)
#0B0B11
(11,11,17)
#000000
(0,0,0)

Tints of #5B797F

#5B797F
(91,121,127)
#69858A
(105,133,138)
#779195
(119,145,149)
#859DA0
(133,157,160)
#93A9AB
(147,169,171)
#A1B5B6
(161,181,182)
#AFC1C1
(175,193,193)
#BDCDCC
(189,205,204)
#CBD9D7
(203,217,215)
#D9E5E2
(217,229,226)
#E7F1ED
(231,241,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B797F color. Also use rgb(91,121,127) instead hex code.

Text Font Color

.myTextColor { color: #5B797F; }

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

This text font color is #5B797F.


Background Color

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

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

This div background color is #5B797F.


Border color

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

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

This div border color is #5B797F.


Opacity

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

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

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

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

This text has shadow with #5B797F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B797F on black background.


Color preview on white background

This text has color #5B797F on white background.



Black color preview on #5B797F background

This text has black color on #5B797F background.


White color preview on #5B797F background

This text has white color on #5B797F background.