COLOR #5A6B5F

HEX: #5A6B5F
RGB: (90,107,95)

Color info

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

RGB color model

#5A6B5F color RGB value is (90,107,95).

  • red value is 90;
  • green value is 107;
  • blue value is 95.
RGB:
(90,107,95)
(35%,42%,37%)

RGB channels and saturation

R 90 of 255 = 35%
G 107 of 255 = 42%
B 95 of 255 = 37%

90
107
95

R + G + B ~ 38%. #5A6B5F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 107 + 95 = 292 (100%)
R 90 of 292 ~ 30.82%
G 107 of 292 ~ 36.64%
B 95 of 292 ~ 32.53%

%30.82
%36.64
%32.53

CMYK color model

#5A6B5F color CMYK value is (16,0,11,58).

  • cyan value is 15.89%
  • magenta value is 0.00%
  • yellow value is 11.21%
  • key color value is 58.04%
CMYK:
(16,0,11,58)
C16M0Y11K58 
(16%,0%,11%,58%)
(0.16/0.00/0.11/0.58)	

CMYK percentages

%15.89
%0
%11.21
%58.04

Codes

Color #5A6B5F in popluar color models

5A6B5F
RGB9010795
HSL138°8.63%38.63%
HSB/HSV138°15.89%41.96%
CMYK15.89%0.00%11.21%
58.04%

Color #5A6B5F in popluar number systems.

HEX5A6B5F
Decimal9010795
Binary101101011010111011111
Octal132153137

Shades and tints

Shades of #5A6B5F

#5A6B5F
(90,107,95)
#526257
(82,98,87)
#4A594F
(74,89,79)
#425047
(66,80,71)
#3A473F
(58,71,63)
#323E37
(50,62,55)
#2A352F
(42,53,47)
#222C27
(34,44,39)
#1A231F
(26,35,31)
#121A17
(18,26,23)
#0A110F
(10,17,15)
#000000
(0,0,0)

Tints of #5A6B5F

#5A6B5F
(90,107,95)
#69786D
(105,120,109)
#78857B
(120,133,123)
#879289
(135,146,137)
#969F97
(150,159,151)
#A5ACA5
(165,172,165)
#B4B9B3
(180,185,179)
#C3C6C1
(195,198,193)
#D2D3CF
(210,211,207)
#E1E0DD
(225,224,221)
#F0EDEB
(240,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6B5F color. Also use rgb(90,107,95) instead hex code.

Text Font Color

.myTextColor { color: #5A6B5F; }

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

This text font color is #5A6B5F.


Background Color

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

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

This div background color is #5A6B5F.


Border color

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

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

This div border color is #5A6B5F.


Opacity

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

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

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

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

This text has shadow with #5A6B5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6B5F on black background.


Color preview on white background

This text has color #5A6B5F on white background.



Black color preview on #5A6B5F background

This text has black color on #5A6B5F background.


White color preview on #5A6B5F background

This text has white color on #5A6B5F background.