COLOR #504F42

HEX: #504F42
RGB: (80,79,66)

Color info

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

RGB color model

#504F42 color RGB value is (80,79,66).

  • red value is 80;
  • green value is 79;
  • blue value is 66.
RGB:
(80,79,66)
(31%,31%,26%)

RGB channels and saturation

R 80 of 255 = 31%
G 79 of 255 = 31%
B 66 of 255 = 26%

80
79
66

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

Portions of RGB colors in percentages

R + G + B =
80 + 79 + 66 = 225 (100%)
R 80 of 225 ~ 35.56%
G 79 of 225 ~ 35.11%
B 66 of 225 ~ 29.33%

%35.56
%35.11
%29.33

CMYK color model

#504F42 color CMYK value is (0,1,18,69).

  • cyan value is 0.00%
  • magenta value is 1.25%
  • yellow value is 17.50%
  • key color value is 68.63%
CMYK:
(0,1,18,69)
C0M1Y18K69 
(0%,1%,18%,69%)
(0.00/0.01/0.18/0.69)	

CMYK percentages

%0
%1.25
%17.5
%68.63

Codes

Color #504F42 in popluar color models

504F42
RGB807966
HSL56°9.59%28.63%
HSB/HSV56°17.50%31.37%
CMYK0.00%1.25%17.50%
68.63%

Color #504F42 in popluar number systems.

HEX504F42
Decimal807966
Binary101000010011111000010
Octal120117102

Shades and tints

Shades of #504F42

#504F42
(80,79,66)
#49483C
(73,72,60)
#424136
(66,65,54)
#3B3A30
(59,58,48)
#34332A
(52,51,42)
#2D2C24
(45,44,36)
#26251E
(38,37,30)
#1F1E18
(31,30,24)
#181712
(24,23,18)
#11100C
(17,16,12)
#0A0906
(10,9,6)
#000000
(0,0,0)

Tints of #504F42

#504F42
(80,79,66)
#5F5F53
(95,95,83)
#6E6F64
(110,111,100)
#7D7F75
(125,127,117)
#8C8F86
(140,143,134)
#9B9F97
(155,159,151)
#AAAFA8
(170,175,168)
#B9BFB9
(185,191,185)
#C8CFCA
(200,207,202)
#D7DFDB
(215,223,219)
#E6EFEC
(230,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504F42 color. Also use rgb(80,79,66) instead hex code.

Text Font Color

.myTextColor { color: #504F42; }

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

This text font color is #504F42.


Background Color

.myBgColor { background-color: #504F42; }

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

This div background color is #504F42.


Border color

.myBorderColor { border: 1px solid #504F42; }

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

This div border color is #504F42.


Opacity

.myOpacity80 { color: #504F42; opacity: 0.8; }

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

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

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

This text has shadow with #504F42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504F42 on black background.


Color preview on white background

This text has color #504F42 on white background.



Black color preview on #504F42 background

This text has black color on #504F42 background.


White color preview on #504F42 background

This text has white color on #504F42 background.