COLOR #508032

HEX: #508032
RGB: (80,128,50)

Color info

#508032 contains mainly red and green colors. Web safe color of #508032 is #666633 (or #663).

RGB color model

#508032 color RGB value is (80,128,50).

  • red value is 80;
  • green value is 128;
  • blue value is 50.
RGB:
(80,128,50)
(31%,50%,20%)

RGB channels and saturation

R 80 of 255 = 31%
G 128 of 255 = 50%
B 50 of 255 = 20%

80
128
50

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

Portions of RGB colors in percentages

R + G + B =
80 + 128 + 50 = 258 (100%)
R 80 of 258 ~ 31.01%
G 128 of 258 ~ 49.61%
B 50 of 258 ~ 19.38%

%31.01
%49.61
%19.38

CMYK color model

#508032 color CMYK value is (38,0,61,50).

  • cyan value is 37.50%
  • magenta value is 0.00%
  • yellow value is 60.94%
  • key color value is 49.80%
CMYK:
(38,0,61,50)
C38M0Y61K50 
(38%,0%,61%,50%)
(0.38/0.00/0.61/0.50)	

CMYK percentages

%37.5
%0
%60.94
%49.8

Codes

Color #508032 in popluar color models

508032
RGB8012850
HSL97°43.82%34.90%
HSB/HSV97°60.94%50.20%
CMYK37.50%0.00%60.94%
49.80%

Color #508032 in popluar number systems.

HEX508032
Decimal8012850
Binary101000010000000110010
Octal12020062

Shades and tints

Shades of #508032

#508032
(80,128,50)
#49752E
(73,117,46)
#426A2A
(66,106,42)
#3B5F26
(59,95,38)
#345422
(52,84,34)
#2D491E
(45,73,30)
#263E1A
(38,62,26)
#1F3316
(31,51,22)
#182812
(24,40,18)
#111D0E
(17,29,14)
#0A120A
(10,18,10)
#000000
(0,0,0)

Tints of #508032

#508032
(80,128,50)
#5F8B44
(95,139,68)
#6E9656
(110,150,86)
#7DA168
(125,161,104)
#8CAC7A
(140,172,122)
#9BB78C
(155,183,140)
#AAC29E
(170,194,158)
#B9CDB0
(185,205,176)
#C8D8C2
(200,216,194)
#D7E3D4
(215,227,212)
#E6EEE6
(230,238,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508032 color. Also use rgb(80,128,50) instead hex code.

Text Font Color

.myTextColor { color: #508032; }

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

This text font color is #508032.


Background Color

.myBgColor { background-color: #508032; }

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

This div background color is #508032.


Border color

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

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

This div border color is #508032.


Opacity

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

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

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

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

This text has shadow with #508032 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #508032 on black background.


Color preview on white background

This text has color #508032 on white background.



Black color preview on #508032 background

This text has black color on #508032 background.


White color preview on #508032 background

This text has white color on #508032 background.