COLOR #504942

HEX: #504942
RGB: (80,73,66)

Color info

#504942 contains red, green and blue colors in about the same proportion. Web safe color of #504942 is #663333 (or #633).

RGB color model

#504942 color RGB value is (80,73,66).

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

RGB channels and saturation

R 80 of 255 = 31%
G 73 of 255 = 29%
B 66 of 255 = 26%

80
73
66

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

Portions of RGB colors in percentages

R + G + B =
80 + 73 + 66 = 219 (100%)
R 80 of 219 ~ 36.53%
G 73 of 219 ~ 33.33%
B 66 of 219 ~ 30.14%

%36.53
%33.33
%30.14

CMYK color model

#504942 color CMYK value is (0,9,18,69).

  • cyan value is 0.00%
  • magenta value is 8.75%
  • yellow value is 17.50%
  • key color value is 68.63%
CMYK:
(0,9,18,69)
C0M9Y18K69 
(0%,9%,18%,69%)
(0.00/0.09/0.18/0.69)	

CMYK percentages

%0
%8.75
%17.5
%68.63

Codes

Color #504942 in popluar color models

504942
RGB807366
HSL30°9.59%28.63%
HSB/HSV30°17.50%31.37%
CMYK0.00%8.75%17.50%
68.63%

Color #504942 in popluar number systems.

HEX504942
Decimal807366
Binary101000010010011000010
Octal120111102

Shades and tints

Shades of #504942

#504942
(80,73,66)
#49433C
(73,67,60)
#423D36
(66,61,54)
#3B3730
(59,55,48)
#34312A
(52,49,42)
#2D2B24
(45,43,36)
#26251E
(38,37,30)
#1F1F18
(31,31,24)
#181912
(24,25,18)
#11130C
(17,19,12)
#0A0D06
(10,13,6)
#000000
(0,0,0)

Tints of #504942

#504942
(80,73,66)
#5F5953
(95,89,83)
#6E6964
(110,105,100)
#7D7975
(125,121,117)
#8C8986
(140,137,134)
#9B9997
(155,153,151)
#AAA9A8
(170,169,168)
#B9B9B9
(185,185,185)
#C8C9CA
(200,201,202)
#D7D9DB
(215,217,219)
#E6E9EC
(230,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504942; }

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

This text font color is #504942.


Background Color

.myBgColor { background-color: #504942; }

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

This div background color is #504942.


Border color

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

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

This div border color is #504942.


Opacity

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

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

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

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

This text has shadow with #504942 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504942 on black background.


Color preview on white background

This text has color #504942 on white background.



Black color preview on #504942 background

This text has black color on #504942 background.


White color preview on #504942 background

This text has white color on #504942 background.