COLOR #505840

HEX: #505840
RGB: (80,88,64)

Color info

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

RGB color model

#505840 color RGB value is (80,88,64).

  • red value is 80;
  • green value is 88;
  • blue value is 64.
RGB:
(80,88,64)
(31%,35%,25%)

RGB channels and saturation

R 80 of 255 = 31%
G 88 of 255 = 35%
B 64 of 255 = 25%

80
88
64

R + G + B ~ 30%. #505840 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 88 + 64 = 232 (100%)
R 80 of 232 ~ 34.48%
G 88 of 232 ~ 37.93%
B 64 of 232 ~ 27.59%

%34.48
%37.93
%27.59

CMYK color model

#505840 color CMYK value is (9,0,27,65).

  • cyan value is 9.09%
  • magenta value is 0.00%
  • yellow value is 27.27%
  • key color value is 65.49%
CMYK:
(9,0,27,65)
C9M0Y27K65 
(9%,0%,27%,65%)
(0.09/0.00/0.27/0.65)	

CMYK percentages

%9.09
%0
%27.27
%65.49

Codes

Color #505840 in popluar color models

505840
RGB808864
HSL80°15.79%29.80%
HSB/HSV80°27.27%34.51%
CMYK9.09%0.00%27.27%
65.49%

Color #505840 in popluar number systems.

HEX505840
Decimal808864
Binary101000010110001000000
Octal120130100

Shades and tints

Shades of #505840

#505840
(80,88,64)
#49503B
(73,80,59)
#424836
(66,72,54)
#3B4031
(59,64,49)
#34382C
(52,56,44)
#2D3027
(45,48,39)
#262822
(38,40,34)
#1F201D
(31,32,29)
#181818
(24,24,24)
#111013
(17,16,19)
#0A080E
(10,8,14)
#000000
(0,0,0)

Tints of #505840

#505840
(80,88,64)
#5F6751
(95,103,81)
#6E7662
(110,118,98)
#7D8573
(125,133,115)
#8C9484
(140,148,132)
#9BA395
(155,163,149)
#AAB2A6
(170,178,166)
#B9C1B7
(185,193,183)
#C8D0C8
(200,208,200)
#D7DFD9
(215,223,217)
#E6EEEA
(230,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505840; }

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

This text font color is #505840.


Background Color

.myBgColor { background-color: #505840; }

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

This div background color is #505840.


Border color

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

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

This div border color is #505840.


Opacity

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

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

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

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

This text has shadow with #505840 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505840 on black background.


Color preview on white background

This text has color #505840 on white background.



Black color preview on #505840 background

This text has black color on #505840 background.


White color preview on #505840 background

This text has white color on #505840 background.