COLOR #505938

HEX: #505938
RGB: (80,89,56)

Color info

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

RGB color model

#505938 color RGB value is (80,89,56).

  • red value is 80;
  • green value is 89;
  • blue value is 56.
RGB:
(80,89,56)
(31%,35%,22%)

RGB channels and saturation

R 80 of 255 = 31%
G 89 of 255 = 35%
B 56 of 255 = 22%

80
89
56

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

Portions of RGB colors in percentages

R + G + B =
80 + 89 + 56 = 225 (100%)
R 80 of 225 ~ 35.56%
G 89 of 225 ~ 39.56%
B 56 of 225 ~ 24.89%

%35.56
%39.56
%24.89

CMYK color model

#505938 color CMYK value is (10,0,37,65).

  • cyan value is 10.11%
  • magenta value is 0.00%
  • yellow value is 37.08%
  • key color value is 65.10%
CMYK:
(10,0,37,65)
C10M0Y37K65 
(10%,0%,37%,65%)
(0.10/0.00/0.37/0.65)	

CMYK percentages

%10.11
%0
%37.08
%65.1

Codes

Color #505938 in popluar color models

505938
RGB808956
HSL76°22.76%28.43%
HSB/HSV76°37.08%34.90%
CMYK10.11%0.00%37.08%
65.10%

Color #505938 in popluar number systems.

HEX505938
Decimal808956
Binary10100001011001111000
Octal12013170

Shades and tints

Shades of #505938

#505938
(80,89,56)
#495133
(73,81,51)
#42492E
(66,73,46)
#3B4129
(59,65,41)
#343924
(52,57,36)
#2D311F
(45,49,31)
#26291A
(38,41,26)
#1F2115
(31,33,21)
#181910
(24,25,16)
#11110B
(17,17,11)
#0A0906
(10,9,6)
#000000
(0,0,0)

Tints of #505938

#505938
(80,89,56)
#5F684A
(95,104,74)
#6E775C
(110,119,92)
#7D866E
(125,134,110)
#8C9580
(140,149,128)
#9BA492
(155,164,146)
#AAB3A4
(170,179,164)
#B9C2B6
(185,194,182)
#C8D1C8
(200,209,200)
#D7E0DA
(215,224,218)
#E6EFEC
(230,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505938 color. Also use rgb(80,89,56) instead hex code.

Text Font Color

.myTextColor { color: #505938; }

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

This text font color is #505938.


Background Color

.myBgColor { background-color: #505938; }

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

This div background color is #505938.


Border color

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

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

This div border color is #505938.


Opacity

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

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

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

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

This text has shadow with #505938 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505938 on black background.


Color preview on white background

This text has color #505938 on white background.



Black color preview on #505938 background

This text has black color on #505938 background.


White color preview on #505938 background

This text has white color on #505938 background.