COLOR #5B7A4F

HEX: #5B7A4F
RGB: (91,122,79)

Color info

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

RGB color model

#5B7A4F color RGB value is (91,122,79).

  • red value is 91;
  • green value is 122;
  • blue value is 79.
RGB:
(91,122,79)
(36%,48%,31%)

RGB channels and saturation

R 91 of 255 = 36%
G 122 of 255 = 48%
B 79 of 255 = 31%

91
122
79

R + G + B ~ 38%. #5B7A4F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 122 + 79 = 292 (100%)
R 91 of 292 ~ 31.16%
G 122 of 292 ~ 41.78%
B 79 of 292 ~ 27.05%

%31.16
%41.78
%27.05

CMYK color model

#5B7A4F color CMYK value is (25,0,35,52).

  • cyan value is 25.41%
  • magenta value is 0.00%
  • yellow value is 35.25%
  • key color value is 52.16%
CMYK:
(25,0,35,52)
C25M0Y35K52 
(25%,0%,35%,52%)
(0.25/0.00/0.35/0.52)	

CMYK percentages

%25.41
%0
%35.25
%52.16

Codes

Color #5B7A4F in popluar color models

5B7A4F
RGB9112279
HSL103°21.39%39.41%
HSB/HSV103°35.25%47.84%
CMYK25.41%0.00%35.25%
52.16%

Color #5B7A4F in popluar number systems.

HEX5B7A4F
Decimal9112279
Binary101101111110101001111
Octal133172117

Shades and tints

Shades of #5B7A4F

#5B7A4F
(91,122,79)
#536F48
(83,111,72)
#4B6441
(75,100,65)
#43593A
(67,89,58)
#3B4E33
(59,78,51)
#33432C
(51,67,44)
#2B3825
(43,56,37)
#232D1E
(35,45,30)
#1B2217
(27,34,23)
#131710
(19,23,16)
#0B0C09
(11,12,9)
#000000
(0,0,0)

Tints of #5B7A4F

#5B7A4F
(91,122,79)
#69865F
(105,134,95)
#77926F
(119,146,111)
#859E7F
(133,158,127)
#93AA8F
(147,170,143)
#A1B69F
(161,182,159)
#AFC2AF
(175,194,175)
#BDCEBF
(189,206,191)
#CBDACF
(203,218,207)
#D9E6DF
(217,230,223)
#E7F2EF
(231,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B7A4F; }

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

This text font color is #5B7A4F.


Background Color

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

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

This div background color is #5B7A4F.


Border color

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

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

This div border color is #5B7A4F.


Opacity

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

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

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

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

This text has shadow with #5B7A4F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B7A4F on black background.


Color preview on white background

This text has color #5B7A4F on white background.



Black color preview on #5B7A4F background

This text has black color on #5B7A4F background.


White color preview on #5B7A4F background

This text has white color on #5B7A4F background.