COLOR #505240

HEX: #505240 RGB: (80,82,64)

Color info

#505240 contains red, green and blue colors in about the same proportion. Web safe color of #505240 is #666633 (or #663).

RGB color model

#505240 color RGB value is (80,82,64).

RGB: (80,82,64) (31%, 32%, 25%)

RGB channels and saturation

R 80 of 255 = 31%
G 82 of 255 = 32%
B 64 of 255 = 25%

80
82
64

R + G + B ~ 29%. #505240 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 82 + 64 = 226 (100%)
R 80 of 226 ~ 35.4%
G 82 of 226 ~ 36.28%
B 64 of 226 ~ 28.32'%

%35.4
%36.28
%28.32

CMYK color model

#505240 color CMYK value is (2,0,22,68).

  • cyan value is 2.44%
  • magenta value is 0.00%
  • yellow value is 21.95%
  • key color value is 67.84%

CMYK: (2,0,22,68)
C2M0Y22K68 (2%, 0%, 22%, 68%)
(0.02 / 0.00 / 0.22 / 0.68)

CMYK percentages

%2.44
%0
%21.95
%67.84

Codes

Color #505240 in popluar color models

50 52 40
RGB 80 82 64
HSL 67° 12.33% 28.63%
HSB/HSV 67° 21.95% 32.16%
CMYK 2.44% 0.00% 21.95%
67.84%

Color #505240 in popluar number systems.

HEX 50 52 40
Decimal 80 82 64
Binary 1010000 1010010 1000000
Octal 120 122 100

Shades and tints

Shades of #505240

#505240
(80,82,64)
#494B3B
(73,75,59)
#424436
(66,68,54)
#3B3D31
(59,61,49)
#34362C
(52,54,44)
#2D2F27
(45,47,39)
#262822
(38,40,34)
#1F211D
(31,33,29)
#181A18
(24,26,24)
#111313
(17,19,19)
#0A0C0E
(10,12,14)
#000000
(0,0,0)

Tints of #505240

#505240
(80,82,64)
#5F6151
(95,97,81)
#6E7062
(110,112,98)
#7D7F73
(125,127,115)
#8C8E84
(140,142,132)
#9B9D95
(155,157,149)
#AAACA6
(170,172,166)
#B9BBB7
(185,187,183)
#C8CAC8
(200,202,200)
#D7D9D9
(215,217,217)
#E6E8EA
(230,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505240; }

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

This text font color is #505240.

Background Color

.myBgColor { background-color: #505240; }

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

This div background color is #505240.

Border color

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

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

This div border color is #505240.

Opacity

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

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

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

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

This text has shadow with #505240 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505240.

Preview

Color preview on black background

This text has color #505240 on black background.


Color preview on white background

This text has color #505240 on white background.


Black color preview on #505240 background

This text has black color on #505240 background.


White color preview on #505240 background

This text has white color on #505240 background.


Related colors

Complementary color

Complementary color for #hex is #AFADBF.


I love getcolorcode.com

Triadic colors

1 #405052 and #524050 with #505240 are triadic colors.

2 #405250 and #525040 with #505240 are triadic colors.