COLOR #5A6B42

HEX: #5A6B42
RGB: (90,107,66)

Color info

#5A6B42 contains red, green and blue colors in about the same proportion. Web safe color of #5A6B42 is #666633 (or #663).

RGB color model

#5A6B42 color RGB value is (90,107,66).

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

RGB channels and saturation

R 90 of 255 = 35%
G 107 of 255 = 42%
B 66 of 255 = 26%

90
107
66

R + G + B ~ 34%. #5A6B42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 107 + 66 = 263 (100%)
R 90 of 263 ~ 34.22%
G 107 of 263 ~ 40.68%
B 66 of 263 ~ 25.1%

%34.22
%40.68
%25.1

CMYK color model

#5A6B42 color CMYK value is (16,0,38,58).

  • cyan value is 15.89%
  • magenta value is 0.00%
  • yellow value is 38.32%
  • key color value is 58.04%
CMYK:
(16,0,38,58)
C16M0Y38K58 
(16%,0%,38%,58%)
(0.16/0.00/0.38/0.58)	

CMYK percentages

%15.89
%0
%38.32
%58.04

Codes

Color #5A6B42 in popluar color models

5A6B42
RGB9010766
HSL85°23.70%33.92%
HSB/HSV85°38.32%41.96%
CMYK15.89%0.00%38.32%
58.04%

Color #5A6B42 in popluar number systems.

HEX5A6B42
Decimal9010766
Binary101101011010111000010
Octal132153102

Shades and tints

Shades of #5A6B42

#5A6B42
(90,107,66)
#52623C
(82,98,60)
#4A5936
(74,89,54)
#425030
(66,80,48)
#3A472A
(58,71,42)
#323E24
(50,62,36)
#2A351E
(42,53,30)
#222C18
(34,44,24)
#1A2312
(26,35,18)
#121A0C
(18,26,12)
#0A1106
(10,17,6)
#000000
(0,0,0)

Tints of #5A6B42

#5A6B42
(90,107,66)
#697853
(105,120,83)
#788564
(120,133,100)
#879275
(135,146,117)
#969F86
(150,159,134)
#A5AC97
(165,172,151)
#B4B9A8
(180,185,168)
#C3C6B9
(195,198,185)
#D2D3CA
(210,211,202)
#E1E0DB
(225,224,219)
#F0EDEC
(240,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6B42; }

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

This text font color is #5A6B42.


Background Color

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

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

This div background color is #5A6B42.


Border color

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

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

This div border color is #5A6B42.


Opacity

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

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

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

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

This text has shadow with #5A6B42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6B42 on black background.


Color preview on white background

This text has color #5A6B42 on white background.



Black color preview on #5A6B42 background

This text has black color on #5A6B42 background.


White color preview on #5A6B42 background

This text has white color on #5A6B42 background.