COLOR #508928

HEX: #508928
RGB: (80,137,40)

Color info

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

RGB color model

#508928 color RGB value is (80,137,40).

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

RGB channels and saturation

R 80 of 255 = 31%
G 137 of 255 = 54%
B 40 of 255 = 16%

80
137
40

R + G + B ~ 34%. #508928 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 137 + 40 = 257 (100%)
R 80 of 257 ~ 31.13%
G 137 of 257 ~ 53.31%
B 40 of 257 ~ 15.56%

%31.13
%53.31
%15.56

CMYK color model

#508928 color CMYK value is (42,0,71,46).

  • cyan value is 41.61%
  • magenta value is 0.00%
  • yellow value is 70.80%
  • key color value is 46.27%
CMYK:
(42,0,71,46)
C42M0Y71K46 
(42%,0%,71%,46%)
(0.42/0.00/0.71/0.46)	

CMYK percentages

%41.61
%0
%70.8
%46.27

Codes

Color #508928 in popluar color models

508928
RGB8013740
HSL95°54.80%34.71%
HSB/HSV95°70.80%53.73%
CMYK41.61%0.00%70.80%
46.27%

Color #508928 in popluar number systems.

HEX508928
Decimal8013740
Binary101000010001001101000
Octal12021150

Shades and tints

Shades of #508928

#508928
(80,137,40)
#497D25
(73,125,37)
#427122
(66,113,34)
#3B651F
(59,101,31)
#34591C
(52,89,28)
#2D4D19
(45,77,25)
#264116
(38,65,22)
#1F3513
(31,53,19)
#182910
(24,41,16)
#111D0D
(17,29,13)
#0A110A
(10,17,10)
#000000
(0,0,0)

Tints of #508928

#508928
(80,137,40)
#5F933B
(95,147,59)
#6E9D4E
(110,157,78)
#7DA761
(125,167,97)
#8CB174
(140,177,116)
#9BBB87
(155,187,135)
#AAC59A
(170,197,154)
#B9CFAD
(185,207,173)
#C8D9C0
(200,217,192)
#D7E3D3
(215,227,211)
#E6EDE6
(230,237,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #508928; }

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

This text font color is #508928.


Background Color

.myBgColor { background-color: #508928; }

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

This div background color is #508928.


Border color

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

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

This div border color is #508928.


Opacity

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

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

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

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

This text has shadow with #508928 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #508928 on black background.


Color preview on white background

This text has color #508928 on white background.



Black color preview on #508928 background

This text has black color on #508928 background.


White color preview on #508928 background

This text has white color on #508928 background.