COLOR #505128

HEX: #505128
RGB: (80,81,40)

Color info

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

RGB color model

#505128 color RGB value is (80,81,40).

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

RGB channels and saturation

R 80 of 255 = 31%
G 81 of 255 = 32%
B 40 of 255 = 16%

80
81
40

R + G + B ~ 26%. #505128 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 81 + 40 = 201 (100%)
R 80 of 201 ~ 39.8%
G 81 of 201 ~ 40.3%
B 40 of 201 ~ 19.9%

%39.8
%40.3
%19.9

CMYK color model

#505128 color CMYK value is (1,0,51,68).

  • cyan value is 1.23%
  • magenta value is 0.00%
  • yellow value is 50.62%
  • key color value is 68.24%
CMYK:
(1,0,51,68)
C1M0Y51K68 
(1%,0%,51%,68%)
(0.01/0.00/0.51/0.68)	

CMYK percentages

%1.23
%0
%50.62
%68.24

Codes

Color #505128 in popluar color models

505128
RGB808140
HSL61°33.88%23.73%
HSB/HSV61°50.62%31.76%
CMYK1.23%0.00%50.62%
68.24%

Color #505128 in popluar number systems.

HEX505128
Decimal808140
Binary10100001010001101000
Octal12012150

Shades and tints

Shades of #505128

#505128
(80,81,40)
#494A25
(73,74,37)
#424322
(66,67,34)
#3B3C1F
(59,60,31)
#34351C
(52,53,28)
#2D2E19
(45,46,25)
#262716
(38,39,22)
#1F2013
(31,32,19)
#181910
(24,25,16)
#11120D
(17,18,13)
#0A0B0A
(10,11,10)
#000000
(0,0,0)

Tints of #505128

#505128
(80,81,40)
#5F603B
(95,96,59)
#6E6F4E
(110,111,78)
#7D7E61
(125,126,97)
#8C8D74
(140,141,116)
#9B9C87
(155,156,135)
#AAAB9A
(170,171,154)
#B9BAAD
(185,186,173)
#C8C9C0
(200,201,192)
#D7D8D3
(215,216,211)
#E6E7E6
(230,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505128 color. Also use rgb(80,81,40) instead hex code.

Text Font Color

.myTextColor { color: #505128; }

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

This text font color is #505128.


Background Color

.myBgColor { background-color: #505128; }

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

This div background color is #505128.


Border color

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

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

This div border color is #505128.


Opacity

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

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

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

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

This text has shadow with #505128 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505128 on black background.


Color preview on white background

This text has color #505128 on white background.



Black color preview on #505128 background

This text has black color on #505128 background.


White color preview on #505128 background

This text has white color on #505128 background.