COLOR #504F80

HEX: #504F80
RGB: (80,79,128)

Color info

#504F80 contains red, green and blue colors in about the same proportion. Web safe color of #504F80 is #666666 (or #666).

RGB color model

#504F80 color RGB value is (80,79,128).

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

RGB channels and saturation

R 80 of 255 = 31%
G 79 of 255 = 31%
B 128 of 255 = 50%

80
79
128

R + G + B ~ 37%. #504F80 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 79 + 128 = 287 (100%)
R 80 of 287 ~ 27.87%
G 79 of 287 ~ 27.53%
B 128 of 287 ~ 44.6%

%27.87
%27.53
%44.6

CMYK color model

#504F80 color CMYK value is (38,38,0,50).

  • cyan value is 37.50%
  • magenta value is 38.28%
  • yellow value is 0.00%
  • key color value is 49.80%
CMYK:
(38,38,0,50)
C38M38Y0K50 
(38%,38%,0%,50%)
(0.38/0.38/0.00/0.50)	

CMYK percentages

%37.5
%38.28
%0
%49.8

Codes

Color #504F80 in popluar color models

504F80
RGB8079128
HSL241°23.67%40.59%
HSB/HSV241°38.28%50.20%
CMYK37.50%38.28%0.00%
49.80%

Color #504F80 in popluar number systems.

HEX504F80
Decimal8079128
Binary1010000100111110000000
Octal120117200

Shades and tints

Shades of #504F80

#504F80
(80,79,128)
#494875
(73,72,117)
#42416A
(66,65,106)
#3B3A5F
(59,58,95)
#343354
(52,51,84)
#2D2C49
(45,44,73)
#26253E
(38,37,62)
#1F1E33
(31,30,51)
#181728
(24,23,40)
#11101D
(17,16,29)
#0A0912
(10,9,18)
#000000
(0,0,0)

Tints of #504F80

#504F80
(80,79,128)
#5F5F8B
(95,95,139)
#6E6F96
(110,111,150)
#7D7FA1
(125,127,161)
#8C8FAC
(140,143,172)
#9B9FB7
(155,159,183)
#AAAFC2
(170,175,194)
#B9BFCD
(185,191,205)
#C8CFD8
(200,207,216)
#D7DFE3
(215,223,227)
#E6EFEE
(230,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504F80; }

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

This text font color is #504F80.


Background Color

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

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

This div background color is #504F80.


Border color

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

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

This div border color is #504F80.


Opacity

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

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

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

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

This text has shadow with #504F80 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504F80 on black background.


Color preview on white background

This text has color #504F80 on white background.



Black color preview on #504F80 background

This text has black color on #504F80 background.


White color preview on #504F80 background

This text has white color on #504F80 background.