COLOR #506520

HEX: #506520
RGB: (80,101,32)

Color info

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

RGB color model

#506520 color RGB value is (80,101,32).

  • red value is 80;
  • green value is 101;
  • blue value is 32.
RGB:
(80,101,32)
(31%,40%,13%)

RGB channels and saturation

R 80 of 255 = 31%
G 101 of 255 = 40%
B 32 of 255 = 13%

80
101
32

R + G + B ~ 28%. #506520 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 101 + 32 = 213 (100%)
R 80 of 213 ~ 37.56%
G 101 of 213 ~ 47.42%
B 32 of 213 ~ 15.02%

%37.56
%47.42
%15.02

CMYK color model

#506520 color CMYK value is (21,0,68,60).

  • cyan value is 20.79%
  • magenta value is 0.00%
  • yellow value is 68.32%
  • key color value is 60.39%
CMYK:
(21,0,68,60)
C21M0Y68K60 
(21%,0%,68%,60%)
(0.21/0.00/0.68/0.60)	

CMYK percentages

%20.79
%0
%68.32
%60.39

Codes

Color #506520 in popluar color models

506520
RGB8010132
HSL78°51.88%26.08%
HSB/HSV78°68.32%39.61%
CMYK20.79%0.00%68.32%
60.39%

Color #506520 in popluar number systems.

HEX506520
Decimal8010132
Binary10100001100101100000
Octal12014540

Shades and tints

Shades of #506520

#506520
(80,101,32)
#495C1E
(73,92,30)
#42531C
(66,83,28)
#3B4A1A
(59,74,26)
#344118
(52,65,24)
#2D3816
(45,56,22)
#262F14
(38,47,20)
#1F2612
(31,38,18)
#181D10
(24,29,16)
#11140E
(17,20,14)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #506520

#506520
(80,101,32)
#5F7334
(95,115,52)
#6E8148
(110,129,72)
#7D8F5C
(125,143,92)
#8C9D70
(140,157,112)
#9BAB84
(155,171,132)
#AAB998
(170,185,152)
#B9C7AC
(185,199,172)
#C8D5C0
(200,213,192)
#D7E3D4
(215,227,212)
#E6F1E8
(230,241,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #506520 color. Also use rgb(80,101,32) instead hex code.

Text Font Color

.myTextColor { color: #506520; }

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

This text font color is #506520.


Background Color

.myBgColor { background-color: #506520; }

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

This div background color is #506520.


Border color

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

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

This div border color is #506520.


Opacity

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

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

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

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

This text has shadow with #506520 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #506520 on black background.


Color preview on white background

This text has color #506520 on white background.



Black color preview on #506520 background

This text has black color on #506520 background.


White color preview on #506520 background

This text has white color on #506520 background.