COLOR #5F7A4F

HEX: #5F7A4F
RGB: (95,122,79)

Color info

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

RGB color model

#5F7A4F color RGB value is (95,122,79).

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

RGB channels and saturation

R 95 of 255 = 37%
G 122 of 255 = 48%
B 79 of 255 = 31%

95
122
79

R + G + B ~ 39%. #5F7A4F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 122 + 79 = 296 (100%)
R 95 of 296 ~ 32.09%
G 122 of 296 ~ 41.22%
B 79 of 296 ~ 26.69%

%32.09
%41.22
%26.69

CMYK color model

#5F7A4F color CMYK value is (22,0,35,52).

  • cyan value is 22.13%
  • magenta value is 0.00%
  • yellow value is 35.25%
  • key color value is 52.16%
CMYK: (22,0,35,52) C22M0Y35K52 (22%,0%,35%,52%) (0.22/0.00/0.35/0.52)

CMYK percentages

%22.13
%0
%35.25
%52.16

Codes

Color #5F7A4F in popluar color models

5F7A4F
RGB9512279
HSL98°21.39%39.41%
HSB/HSV98°35.25%47.84%
CMYK22.13%0.00%35.25%
52.16%

Color #5F7A4F in popluar number systems.

HEX5F7A4F
Decimal9512279
Binary101111111110101001111
Octal137172117

Shades and tints

Shades of #5F7A4F

#5F7A4F
(95,122,79)
#576F48
(87,111,72)
#4F6441
(79,100,65)
#47593A
(71,89,58)
#3F4E33
(63,78,51)
#37432C
(55,67,44)
#2F3825
(47,56,37)
#272D1E
(39,45,30)
#1F2217
(31,34,23)
#171710
(23,23,16)
#0F0C09
(15,12,9)
#000000
(0,0,0)

Tints of #5F7A4F

#5F7A4F
(95,122,79)
#6D865F
(109,134,95)
#7B926F
(123,146,111)
#899E7F
(137,158,127)
#97AA8F
(151,170,143)
#A5B69F
(165,182,159)
#B3C2AF
(179,194,175)
#C1CEBF
(193,206,191)
#CFDACF
(207,218,207)
#DDE6DF
(221,230,223)
#EBF2EF
(235,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F7A4F; }

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

This text font color is #5F7A4F.


Background Color

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

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

This div background color is #5F7A4F.


Border color

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

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

This div border color is #5F7A4F.


Opacity

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

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

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

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

This text has shadow with #5F7A4F color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #5F7A4F on black background.


Color preview on white background

This text has color #5F7A4F on white background.



Black color preview on #5F7A4F background

This text has black color on #5F7A4F background.


White color preview on #5F7A4F background

This text has white color on #5F7A4F background.