COLOR #508152

HEX: #508152 RGB: (80,129,82)

Color info

#508152 contains red, green and blue colors in about the same proportion. Web safe color of #508152 is #669966 (or #696).

RGB color model

#508152 color RGB value is (80,129,82).

RGB: (80,129,82) (31%, 51%, 32%)

RGB channels and saturation

R 80 of 255 = 31%
G 129 of 255 = 51%
B 82 of 255 = 32%

80
129
82

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

Portions of RGB colors in percentages

R + G + B = 80 + 129 + 82 = 291 (100%)
R 80 of 291 ~ 27.49%
G 129 of 291 ~ 44.33%
B 82 of 291 ~ 28.18'%

%27.49
%44.33
%28.18

CMYK color model

#508152 color CMYK value is (38,0,36,49).

  • cyan value is 37.98%
  • magenta value is 0.00%
  • yellow value is 36.43%
  • key color value is 49.41%

CMYK: (38,0,36,49)
C38M0Y36K49 (38%, 0%, 36%, 49%)
(0.38 / 0.00 / 0.36 / 0.49)

CMYK percentages

%37.98
%0
%36.43
%49.41

Codes

Color #508152 in popluar color models

50 81 52
RGB 80 129 82
HSL 122° 23.44% 40.98%
HSB/HSV 122° 37.98% 50.59%
CMYK 37.98% 0.00% 36.43%
49.41%

Color #508152 in popluar number systems.

HEX 50 81 52
Decimal 80 129 82
Binary 1010000 10000001 1010010
Octal 120 201 122

Shades and tints

Shades of #508152

#508152
(80,129,82)
#49764B
(73,118,75)
#426B44
(66,107,68)
#3B603D
(59,96,61)
#345536
(52,85,54)
#2D4A2F
(45,74,47)
#263F28
(38,63,40)
#1F3421
(31,52,33)
#18291A
(24,41,26)
#111E13
(17,30,19)
#0A130C
(10,19,12)
#000000
(0,0,0)

Tints of #508152

#508152
(80,129,82)
#5F8C61
(95,140,97)
#6E9770
(110,151,112)
#7DA27F
(125,162,127)
#8CAD8E
(140,173,142)
#9BB89D
(155,184,157)
#AAC3AC
(170,195,172)
#B9CEBB
(185,206,187)
#C8D9CA
(200,217,202)
#D7E4D9
(215,228,217)
#E6EFE8
(230,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508152 color. Also use rgb(80,129,82) instead hex code.

Text Font Color

.myTextColor { color: #508152; }

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

This text font color is #508152.

Background Color

.myBgColor { background-color: #508152; }

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

This div background color is #508152.

Border color

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

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

This div border color is #508152.

Opacity

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

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

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

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

This text has shadow with #508152 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #508152.

Preview

Color preview on black background

This text has color #508152 on black background.


Color preview on white background

This text has color #508152 on white background.


Black color preview on #508152 background

This text has black color on #508152 background.


White color preview on #508152 background

This text has white color on #508152 background.


Related colors

Complementary color

Complementary color for #hex is #AF7EAD.


I love getcolorcode.com

Triadic colors

1 #525081 and #815250 with #508152 are triadic colors.

2 #528150 and #815052 with #508152 are triadic colors.