COLOR #504A5F

HEX: #504A5F
RGB: (80,74,95)

Color info

#504A5F contains red, green and blue colors in about the same proportion. Web safe color of #504A5F is #663366 (or #636).

RGB color model

#504A5F color RGB value is (80,74,95).

  • red value is 80;
  • green value is 74;
  • blue value is 95.
RGB:
(80,74,95)
(31%,29%,37%)

RGB channels and saturation

R 80 of 255 = 31%
G 74 of 255 = 29%
B 95 of 255 = 37%

80
74
95

R + G + B ~ 32%. #504A5F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 74 + 95 = 249 (100%)
R 80 of 249 ~ 32.13%
G 74 of 249 ~ 29.72%
B 95 of 249 ~ 38.15%

%32.13
%29.72
%38.15

CMYK color model

#504A5F color CMYK value is (16,22,0,63).

  • cyan value is 15.79%
  • magenta value is 22.11%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(16,22,0,63)
C16M22Y0K63 
(16%,22%,0%,63%)
(0.16/0.22/0.00/0.63)	

CMYK percentages

%15.79
%22.11
%0
%62.75

Codes

Color #504A5F in popluar color models

504A5F
RGB807495
HSL257°12.43%33.14%
HSB/HSV257°22.11%37.25%
CMYK15.79%22.11%0.00%
62.75%

Color #504A5F in popluar number systems.

HEX504A5F
Decimal807495
Binary101000010010101011111
Octal120112137

Shades and tints

Shades of #504A5F

#504A5F
(80,74,95)
#494457
(73,68,87)
#423E4F
(66,62,79)
#3B3847
(59,56,71)
#34323F
(52,50,63)
#2D2C37
(45,44,55)
#26262F
(38,38,47)
#1F2027
(31,32,39)
#181A1F
(24,26,31)
#111417
(17,20,23)
#0A0E0F
(10,14,15)
#000000
(0,0,0)

Tints of #504A5F

#504A5F
(80,74,95)
#5F5A6D
(95,90,109)
#6E6A7B
(110,106,123)
#7D7A89
(125,122,137)
#8C8A97
(140,138,151)
#9B9AA5
(155,154,165)
#AAAAB3
(170,170,179)
#B9BAC1
(185,186,193)
#C8CACF
(200,202,207)
#D7DADD
(215,218,221)
#E6EAEB
(230,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504A5F color. Also use rgb(80,74,95) instead hex code.

Text Font Color

.myTextColor { color: #504A5F; }

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

This text font color is #504A5F.


Background Color

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

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

This div background color is #504A5F.


Border color

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

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

This div border color is #504A5F.


Opacity

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

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

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

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

This text has shadow with #504A5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504A5F on black background.


Color preview on white background

This text has color #504A5F on white background.



Black color preview on #504A5F background

This text has black color on #504A5F background.


White color preview on #504A5F background

This text has white color on #504A5F background.