COLOR #5F8240

HEX: #5F8240
RGB: (95,130,64)

Color info

#5F8240 contains mainly red and green colors. Web safe color of #5F8240 is #669933 (or #693).

RGB color model

#5F8240 color RGB value is (95,130,64).

  • red value is 95;
  • green value is 130;
  • blue value is 64.
RGB:
(95,130,64)
(37%,51%,25%)

RGB channels and saturation

R 95 of 255 = 37%
G 130 of 255 = 51%
B 64 of 255 = 25%

95
130
64

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

Portions of RGB colors in percentages

R + G + B =
95 + 130 + 64 = 289 (100%)
R 95 of 289 ~ 32.87%
G 130 of 289 ~ 44.98%
B 64 of 289 ~ 22.15%

%32.87
%44.98
%22.15

CMYK color model

#5F8240 color CMYK value is (27,0,51,49).

  • cyan value is 26.92%
  • magenta value is 0.00%
  • yellow value is 50.77%
  • key color value is 49.02%
CMYK:
(27,0,51,49)
C27M0Y51K49 
(27%,0%,51%,49%)
(0.27/0.00/0.51/0.49)	

CMYK percentages

%26.92
%0
%50.77
%49.02

Codes

Color #5F8240 in popluar color models

5F8240
RGB9513064
HSL92°34.02%38.04%
HSB/HSV92°50.77%50.98%
CMYK26.92%0.00%50.77%
49.02%

Color #5F8240 in popluar number systems.

HEX5F8240
Decimal9513064
Binary1011111100000101000000
Octal137202100

Shades and tints

Shades of #5F8240

#5F8240
(95,130,64)
#57773B
(87,119,59)
#4F6C36
(79,108,54)
#476131
(71,97,49)
#3F562C
(63,86,44)
#374B27
(55,75,39)
#2F4022
(47,64,34)
#27351D
(39,53,29)
#1F2A18
(31,42,24)
#171F13
(23,31,19)
#0F140E
(15,20,14)
#000000
(0,0,0)

Tints of #5F8240

#5F8240
(95,130,64)
#6D8D51
(109,141,81)
#7B9862
(123,152,98)
#89A373
(137,163,115)
#97AE84
(151,174,132)
#A5B995
(165,185,149)
#B3C4A6
(179,196,166)
#C1CFB7
(193,207,183)
#CFDAC8
(207,218,200)
#DDE5D9
(221,229,217)
#EBF0EA
(235,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F8240 color. Also use rgb(95,130,64) instead hex code.

Text Font Color

.myTextColor { color: #5F8240; }

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

This text font color is #5F8240.


Background Color

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

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

This div background color is #5F8240.


Border color

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

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

This div border color is #5F8240.


Opacity

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

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

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

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

This text has shadow with #5F8240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F8240 on black background.


Color preview on white background

This text has color #5F8240 on white background.



Black color preview on #5F8240 background

This text has black color on #5F8240 background.


White color preview on #5F8240 background

This text has white color on #5F8240 background.