COLOR #5F7958

HEX: #5F7958
RGB: (95,121,88)

Color info

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

RGB color model

#5F7958 color RGB value is (95,121,88).

  • red value is 95;
  • green value is 121;
  • blue value is 88.
RGB:
(95,121,88)
(37%,47%,35%)

RGB channels and saturation

R 95 of 255 = 37%
G 121 of 255 = 47%
B 88 of 255 = 35%

95
121
88

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

Portions of RGB colors in percentages

R + G + B =
95 + 121 + 88 = 304 (100%)
R 95 of 304 ~ 31.25%
G 121 of 304 ~ 39.8%
B 88 of 304 ~ 28.95%

%31.25
%39.8
%28.95

CMYK color model

#5F7958 color CMYK value is (21,0,27,53).

  • cyan value is 21.49%
  • magenta value is 0.00%
  • yellow value is 27.27%
  • key color value is 52.55%
CMYK:
(21,0,27,53)
C21M0Y27K53 
(21%,0%,27%,53%)
(0.21/0.00/0.27/0.53)	

CMYK percentages

%21.49
%0
%27.27
%52.55

Codes

Color #5F7958 in popluar color models

5F7958
RGB9512188
HSL107°15.79%40.98%
HSB/HSV107°27.27%47.45%
CMYK21.49%0.00%27.27%
52.55%

Color #5F7958 in popluar number systems.

HEX5F7958
Decimal9512188
Binary101111111110011011000
Octal137171130

Shades and tints

Shades of #5F7958

#5F7958
(95,121,88)
#576E50
(87,110,80)
#4F6348
(79,99,72)
#475840
(71,88,64)
#3F4D38
(63,77,56)
#374230
(55,66,48)
#2F3728
(47,55,40)
#272C20
(39,44,32)
#1F2118
(31,33,24)
#171610
(23,22,16)
#0F0B08
(15,11,8)
#000000
(0,0,0)

Tints of #5F7958

#5F7958
(95,121,88)
#6D8567
(109,133,103)
#7B9176
(123,145,118)
#899D85
(137,157,133)
#97A994
(151,169,148)
#A5B5A3
(165,181,163)
#B3C1B2
(179,193,178)
#C1CDC1
(193,205,193)
#CFD9D0
(207,217,208)
#DDE5DF
(221,229,223)
#EBF1EE
(235,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F7958 color. Also use rgb(95,121,88) instead hex code.

Text Font Color

.myTextColor { color: #5F7958; }

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

This text font color is #5F7958.


Background Color

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

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

This div background color is #5F7958.


Border color

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

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

This div border color is #5F7958.


Opacity

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

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

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

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

This text has shadow with #5F7958 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F7958 on black background.


Color preview on white background

This text has color #5F7958 on white background.



Black color preview on #5F7958 background

This text has black color on #5F7958 background.


White color preview on #5F7958 background

This text has white color on #5F7958 background.