COLOR #5B7342

HEX: #5B7342
RGB: (91,115,66)

Color info

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

RGB color model

#5B7342 color RGB value is (91,115,66).

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

RGB channels and saturation

R 91 of 255 = 36%
G 115 of 255 = 45%
B 66 of 255 = 26%

91
115
66

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

Portions of RGB colors in percentages

R + G + B =
91 + 115 + 66 = 272 (100%)
R 91 of 272 ~ 33.46%
G 115 of 272 ~ 42.28%
B 66 of 272 ~ 24.26%

%33.46
%42.28
%24.26

CMYK color model

#5B7342 color CMYK value is (21,0,43,55).

  • cyan value is 20.87%
  • magenta value is 0.00%
  • yellow value is 42.61%
  • key color value is 54.90%
CMYK:
(21,0,43,55)
C21M0Y43K55 
(21%,0%,43%,55%)
(0.21/0.00/0.43/0.55)	

CMYK percentages

%20.87
%0
%42.61
%54.9

Codes

Color #5B7342 in popluar color models

5B7342
RGB9111566
HSL89°27.07%35.49%
HSB/HSV89°42.61%45.10%
CMYK20.87%0.00%42.61%
54.90%

Color #5B7342 in popluar number systems.

HEX5B7342
Decimal9111566
Binary101101111100111000010
Octal133163102

Shades and tints

Shades of #5B7342

#5B7342
(91,115,66)
#53693C
(83,105,60)
#4B5F36
(75,95,54)
#435530
(67,85,48)
#3B4B2A
(59,75,42)
#334124
(51,65,36)
#2B371E
(43,55,30)
#232D18
(35,45,24)
#1B2312
(27,35,18)
#13190C
(19,25,12)
#0B0F06
(11,15,6)
#000000
(0,0,0)

Tints of #5B7342

#5B7342
(91,115,66)
#697F53
(105,127,83)
#778B64
(119,139,100)
#859775
(133,151,117)
#93A386
(147,163,134)
#A1AF97
(161,175,151)
#AFBBA8
(175,187,168)
#BDC7B9
(189,199,185)
#CBD3CA
(203,211,202)
#D9DFDB
(217,223,219)
#E7EBEC
(231,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B7342; }

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

This text font color is #5B7342.


Background Color

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

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

This div background color is #5B7342.


Border color

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

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

This div border color is #5B7342.


Opacity

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

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

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

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

This text has shadow with #5B7342 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B7342 on black background.


Color preview on white background

This text has color #5B7342 on white background.



Black color preview on #5B7342 background

This text has black color on #5B7342 background.


White color preview on #5B7342 background

This text has white color on #5B7342 background.