COLOR #5B785B

HEX: #5B785B
RGB: (91,120,91)

Color info

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

RGB color model

#5B785B color RGB value is (91,120,91).

  • red value is 91;
  • green value is 120;
  • blue value is 91.
RGB:
(91,120,91)
(36%,47%,36%)

RGB channels and saturation

R 91 of 255 = 36%
G 120 of 255 = 47%
B 91 of 255 = 36%

91
120
91

R + G + B ~ 40%. #5B785B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
91 + 120 + 91 = 302 (100%)
R 91 of 302 ~ 30.13%
G 120 of 302 ~ 39.74%
B 91 of 302 ~ 30.13%

%30.13
%39.74
%30.13

CMYK color model

#5B785B color CMYK value is (24,0,24,53).

  • cyan value is 24.17%
  • magenta value is 0.00%
  • yellow value is 24.17%
  • key color value is 52.94%
CMYK:
(24,0,24,53)
C24M0Y24K53 
(24%,0%,24%,53%)
(0.24/0.00/0.24/0.53)	

CMYK percentages

%24.17
%0
%24.17
%52.94

Codes

Color #5B785B in popluar color models

5B785B
RGB9112091
HSL120°13.74%41.37%
HSB/HSV120°24.17%47.06%
CMYK24.17%0.00%24.17%
52.94%

Color #5B785B in popluar number systems.

HEX5B785B
Decimal9112091
Binary101101111110001011011
Octal133170133

Shades and tints

Shades of #5B785B

#5B785B
(91,120,91)
#536E53
(83,110,83)
#4B644B
(75,100,75)
#435A43
(67,90,67)
#3B503B
(59,80,59)
#334633
(51,70,51)
#2B3C2B
(43,60,43)
#233223
(35,50,35)
#1B281B
(27,40,27)
#131E13
(19,30,19)
#0B140B
(11,20,11)
#000000
(0,0,0)

Tints of #5B785B

#5B785B
(91,120,91)
#698469
(105,132,105)
#779077
(119,144,119)
#859C85
(133,156,133)
#93A893
(147,168,147)
#A1B4A1
(161,180,161)
#AFC0AF
(175,192,175)
#BDCCBD
(189,204,189)
#CBD8CB
(203,216,203)
#D9E4D9
(217,228,217)
#E7F0E7
(231,240,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B785B; }

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

This text font color is #5B785B.


Background Color

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

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

This div background color is #5B785B.


Border color

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

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

This div border color is #5B785B.


Opacity

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

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

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

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

This text has shadow with #5B785B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B785B on black background.


Color preview on white background

This text has color #5B785B on white background.



Black color preview on #5B785B background

This text has black color on #5B785B background.


White color preview on #5B785B background

This text has white color on #5B785B background.