COLOR #5B7542

HEX: #5B7542
RGB: (91,117,66)

Color info

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

RGB color model

#5B7542 color RGB value is (91,117,66).

  • red value is 91;
  • green value is 117;
  • blue value is 66.
RGB:
(91,117,66)
(36%,46%,26%)

RGB channels and saturation

R 91 of 255 = 36%
G 117 of 255 = 46%
B 66 of 255 = 26%

91
117
66

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

Portions of RGB colors in percentages

R + G + B =
91 + 117 + 66 = 274 (100%)
R 91 of 274 ~ 33.21%
G 117 of 274 ~ 42.7%
B 66 of 274 ~ 24.09%

%33.21
%42.7
%24.09

CMYK color model

#5B7542 color CMYK value is (22,0,44,54).

  • cyan value is 22.22%
  • magenta value is 0.00%
  • yellow value is 43.59%
  • key color value is 54.12%
CMYK:
(22,0,44,54)
C22M0Y44K54 
(22%,0%,44%,54%)
(0.22/0.00/0.44/0.54)	

CMYK percentages

%22.22
%0
%43.59
%54.12

Codes

Color #5B7542 in popluar color models

5B7542
RGB9111766
HSL91°27.87%35.88%
HSB/HSV91°43.59%45.88%
CMYK22.22%0.00%43.59%
54.12%

Color #5B7542 in popluar number systems.

HEX5B7542
Decimal9111766
Binary101101111101011000010
Octal133165102

Shades and tints

Shades of #5B7542

#5B7542
(91,117,66)
#536B3C
(83,107,60)
#4B6136
(75,97,54)
#435730
(67,87,48)
#3B4D2A
(59,77,42)
#334324
(51,67,36)
#2B391E
(43,57,30)
#232F18
(35,47,24)
#1B2512
(27,37,18)
#131B0C
(19,27,12)
#0B1106
(11,17,6)
#000000
(0,0,0)

Tints of #5B7542

#5B7542
(91,117,66)
#698153
(105,129,83)
#778D64
(119,141,100)
#859975
(133,153,117)
#93A586
(147,165,134)
#A1B197
(161,177,151)
#AFBDA8
(175,189,168)
#BDC9B9
(189,201,185)
#CBD5CA
(203,213,202)
#D9E1DB
(217,225,219)
#E7EDEC
(231,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B7542 color. Also use rgb(91,117,66) instead hex code.

Text Font Color

.myTextColor { color: #5B7542; }

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

This text font color is #5B7542.


Background Color

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

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

This div background color is #5B7542.


Border color

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

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

This div border color is #5B7542.


Opacity

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

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

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

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

This text has shadow with #5B7542 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B7542 on black background.


Color preview on white background

This text has color #5B7542 on white background.



Black color preview on #5B7542 background

This text has black color on #5B7542 background.


White color preview on #5B7542 background

This text has white color on #5B7542 background.