COLOR #507D2A

HEX: #507D2A
RGB: (80,125,42)

Color info

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

RGB color model

#507D2A color RGB value is (80,125,42).

  • red value is 80;
  • green value is 125;
  • blue value is 42.
RGB:
(80,125,42)
(31%,49%,16%)

RGB channels and saturation

R 80 of 255 = 31%
G 125 of 255 = 49%
B 42 of 255 = 16%

80
125
42

R + G + B ~ 32%. #507D2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 125 + 42 = 247 (100%)
R 80 of 247 ~ 32.39%
G 125 of 247 ~ 50.61%
B 42 of 247 ~ 17%

%32.39
%50.61
%17

CMYK color model

#507D2A color CMYK value is (36,0,66,51).

  • cyan value is 36.00%
  • magenta value is 0.00%
  • yellow value is 66.40%
  • key color value is 50.98%
CMYK:
(36,0,66,51)
C36M0Y66K51 
(36%,0%,66%,51%)
(0.36/0.00/0.66/0.51)	

CMYK percentages

%36
%0
%66.4
%50.98

Codes

Color #507D2A in popluar color models

507D2A
RGB8012542
HSL93°49.70%32.75%
HSB/HSV93°66.40%49.02%
CMYK36.00%0.00%66.40%
50.98%

Color #507D2A in popluar number systems.

HEX507D2A
Decimal8012542
Binary10100001111101101010
Octal12017552

Shades and tints

Shades of #507D2A

#507D2A
(80,125,42)
#497227
(73,114,39)
#426724
(66,103,36)
#3B5C21
(59,92,33)
#34511E
(52,81,30)
#2D461B
(45,70,27)
#263B18
(38,59,24)
#1F3015
(31,48,21)
#182512
(24,37,18)
#111A0F
(17,26,15)
#0A0F0C
(10,15,12)
#000000
(0,0,0)

Tints of #507D2A

#507D2A
(80,125,42)
#5F883D
(95,136,61)
#6E9350
(110,147,80)
#7D9E63
(125,158,99)
#8CA976
(140,169,118)
#9BB489
(155,180,137)
#AABF9C
(170,191,156)
#B9CAAF
(185,202,175)
#C8D5C2
(200,213,194)
#D7E0D5
(215,224,213)
#E6EBE8
(230,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #507D2A color. Also use rgb(80,125,42) instead hex code.

Text Font Color

.myTextColor { color: #507D2A; }

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

This text font color is #507D2A.


Background Color

.myBgColor { background-color: #507D2A; }

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

This div background color is #507D2A.


Border color

.myBorderColor { border: 1px solid #507D2A; }

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

This div border color is #507D2A.


Opacity

.myOpacity80 { color: #507D2A; opacity: 0.8; }

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

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

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

This text has shadow with #507D2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #507D2A on black background.


Color preview on white background

This text has color #507D2A on white background.



Black color preview on #507D2A background

This text has black color on #507D2A background.


White color preview on #507D2A background

This text has white color on #507D2A background.