COLOR #504F7B

HEX: #504F7B
RGB: (80,79,123)

Color info

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

RGB color model

#504F7B color RGB value is (80,79,123).

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

RGB channels and saturation

R 80 of 255 = 31%
G 79 of 255 = 31%
B 123 of 255 = 48%

80
79
123

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

Portions of RGB colors in percentages

R + G + B =
80 + 79 + 123 = 282 (100%)
R 80 of 282 ~ 28.37%
G 79 of 282 ~ 28.01%
B 123 of 282 ~ 43.62%

%28.37
%28.01
%43.62

CMYK color model

#504F7B color CMYK value is (35,36,0,52).

  • cyan value is 34.96%
  • magenta value is 35.77%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(35,36,0,52)
C35M36Y0K52 
(35%,36%,0%,52%)
(0.35/0.36/0.00/0.52)	

CMYK percentages

%34.96
%35.77
%0
%51.76

Codes

Color #504F7B in popluar color models

504F7B
RGB8079123
HSL241°21.78%39.61%
HSB/HSV241°35.77%48.24%
CMYK34.96%35.77%0.00%
51.76%

Color #504F7B in popluar number systems.

HEX504F7B
Decimal8079123
Binary101000010011111111011
Octal120117173

Shades and tints

Shades of #504F7B

#504F7B
(80,79,123)
#494870
(73,72,112)
#424165
(66,65,101)
#3B3A5A
(59,58,90)
#34334F
(52,51,79)
#2D2C44
(45,44,68)
#262539
(38,37,57)
#1F1E2E
(31,30,46)
#181723
(24,23,35)
#111018
(17,16,24)
#0A090D
(10,9,13)
#000000
(0,0,0)

Tints of #504F7B

#504F7B
(80,79,123)
#5F5F87
(95,95,135)
#6E6F93
(110,111,147)
#7D7F9F
(125,127,159)
#8C8FAB
(140,143,171)
#9B9FB7
(155,159,183)
#AAAFC3
(170,175,195)
#B9BFCF
(185,191,207)
#C8CFDB
(200,207,219)
#D7DFE7
(215,223,231)
#E6EFF3
(230,239,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504F7B; }

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

This text font color is #504F7B.


Background Color

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

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

This div background color is #504F7B.


Border color

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

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

This div border color is #504F7B.


Opacity

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

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

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

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

This text has shadow with #504F7B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504F7B on black background.


Color preview on white background

This text has color #504F7B on white background.



Black color preview on #504F7B background

This text has black color on #504F7B background.


White color preview on #504F7B background

This text has white color on #504F7B background.