COLOR #5A6B52

HEX: #5A6B52
RGB: (90,107,82)

Color info

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

RGB color model

#5A6B52 color RGB value is (90,107,82).

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

RGB channels and saturation

R 90 of 255 = 35%
G 107 of 255 = 42%
B 82 of 255 = 32%

90
107
82

R + G + B ~ 36%. #5A6B52 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 107 + 82 = 279 (100%)
R 90 of 279 ~ 32.26%
G 107 of 279 ~ 38.35%
B 82 of 279 ~ 29.39%

%32.26
%38.35
%29.39

CMYK color model

#5A6B52 color CMYK value is (16,0,23,58).

  • cyan value is 15.89%
  • magenta value is 0.00%
  • yellow value is 23.36%
  • key color value is 58.04%
CMYK:
(16,0,23,58)
C16M0Y23K58 
(16%,0%,23%,58%)
(0.16/0.00/0.23/0.58)	

CMYK percentages

%15.89
%0
%23.36
%58.04

Codes

Color #5A6B52 in popluar color models

5A6B52
RGB9010782
HSL101°13.23%37.06%
HSB/HSV101°23.36%41.96%
CMYK15.89%0.00%23.36%
58.04%

Color #5A6B52 in popluar number systems.

HEX5A6B52
Decimal9010782
Binary101101011010111010010
Octal132153122

Shades and tints

Shades of #5A6B52

#5A6B52
(90,107,82)
#52624B
(82,98,75)
#4A5944
(74,89,68)
#42503D
(66,80,61)
#3A4736
(58,71,54)
#323E2F
(50,62,47)
#2A3528
(42,53,40)
#222C21
(34,44,33)
#1A231A
(26,35,26)
#121A13
(18,26,19)
#0A110C
(10,17,12)
#000000
(0,0,0)

Tints of #5A6B52

#5A6B52
(90,107,82)
#697861
(105,120,97)
#788570
(120,133,112)
#87927F
(135,146,127)
#969F8E
(150,159,142)
#A5AC9D
(165,172,157)
#B4B9AC
(180,185,172)
#C3C6BB
(195,198,187)
#D2D3CA
(210,211,202)
#E1E0D9
(225,224,217)
#F0EDE8
(240,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6B52; }

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

This text font color is #5A6B52.


Background Color

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

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

This div background color is #5A6B52.


Border color

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

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

This div border color is #5A6B52.


Opacity

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

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

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

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

This text has shadow with #5A6B52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6B52 on black background.


Color preview on white background

This text has color #5A6B52 on white background.



Black color preview on #5A6B52 background

This text has black color on #5A6B52 background.


White color preview on #5A6B52 background

This text has white color on #5A6B52 background.