COLOR #508939

HEX: #508939
RGB: (80,137,57)

Color info

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

RGB color model

#508939 color RGB value is (80,137,57).

  • red value is 80;
  • green value is 137;
  • blue value is 57.
RGB:
(80,137,57)
(31%,54%,22%)

RGB channels and saturation

R 80 of 255 = 31%
G 137 of 255 = 54%
B 57 of 255 = 22%

80
137
57

R + G + B ~ 36%. #508939 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 137 + 57 = 274 (100%)
R 80 of 274 ~ 29.2%
G 137 of 274 ~ 50%
B 57 of 274 ~ 20.8%

%29.2
%50
%20.8

CMYK color model

#508939 color CMYK value is (42,0,58,46).

  • cyan value is 41.61%
  • magenta value is 0.00%
  • yellow value is 58.39%
  • key color value is 46.27%
CMYK:
(42,0,58,46)
C42M0Y58K46 
(42%,0%,58%,46%)
(0.42/0.00/0.58/0.46)	

CMYK percentages

%41.61
%0
%58.39
%46.27

Codes

Color #508939 in popluar color models

508939
RGB8013757
HSL103°41.24%38.04%
HSB/HSV103°58.39%53.73%
CMYK41.61%0.00%58.39%
46.27%

Color #508939 in popluar number systems.

HEX508939
Decimal8013757
Binary101000010001001111001
Octal12021171

Shades and tints

Shades of #508939

#508939
(80,137,57)
#497D34
(73,125,52)
#42712F
(66,113,47)
#3B652A
(59,101,42)
#345925
(52,89,37)
#2D4D20
(45,77,32)
#26411B
(38,65,27)
#1F3516
(31,53,22)
#182911
(24,41,17)
#111D0C
(17,29,12)
#0A1107
(10,17,7)
#000000
(0,0,0)

Tints of #508939

#508939
(80,137,57)
#5F934B
(95,147,75)
#6E9D5D
(110,157,93)
#7DA76F
(125,167,111)
#8CB181
(140,177,129)
#9BBB93
(155,187,147)
#AAC5A5
(170,197,165)
#B9CFB7
(185,207,183)
#C8D9C9
(200,217,201)
#D7E3DB
(215,227,219)
#E6EDED
(230,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508939 color. Also use rgb(80,137,57) instead hex code.

Text Font Color

.myTextColor { color: #508939; }

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

This text font color is #508939.


Background Color

.myBgColor { background-color: #508939; }

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

This div background color is #508939.


Border color

.myBorderColor { border: 1px solid #508939; }

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

This div border color is #508939.


Opacity

.myOpacity80 { color: #508939; opacity: 0.8; }

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

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

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

This text has shadow with #508939 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #508939 on black background.


Color preview on white background

This text has color #508939 on white background.



Black color preview on #508939 background

This text has black color on #508939 background.


White color preview on #508939 background

This text has white color on #508939 background.