COLOR #504A81

HEX: #504A81
RGB: (80,74,129)

Color info

#504A81 contains red, green and blue colors in about the same proportion. Web safe color of #504A81 is #663399 (or #639).

RGB color model

#504A81 color RGB value is (80,74,129).

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

RGB channels and saturation

R 80 of 255 = 31%
G 74 of 255 = 29%
B 129 of 255 = 51%

80
74
129

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

Portions of RGB colors in percentages

R + G + B =
80 + 74 + 129 = 283 (100%)
R 80 of 283 ~ 28.27%
G 74 of 283 ~ 26.15%
B 129 of 283 ~ 45.58%

%28.27
%26.15
%45.58

CMYK color model

#504A81 color CMYK value is (38,43,0,49).

  • cyan value is 37.98%
  • magenta value is 42.64%
  • yellow value is 0.00%
  • key color value is 49.41%
CMYK:
(38,43,0,49)
C38M43Y0K49 
(38%,43%,0%,49%)
(0.38/0.43/0.00/0.49)	

CMYK percentages

%37.98
%42.64
%0
%49.41

Codes

Color #504A81 in popluar color models

504A81
RGB8074129
HSL247°27.09%39.80%
HSB/HSV247°42.64%50.59%
CMYK37.98%42.64%0.00%
49.41%

Color #504A81 in popluar number systems.

HEX504A81
Decimal8074129
Binary1010000100101010000001
Octal120112201

Shades and tints

Shades of #504A81

#504A81
(80,74,129)
#494476
(73,68,118)
#423E6B
(66,62,107)
#3B3860
(59,56,96)
#343255
(52,50,85)
#2D2C4A
(45,44,74)
#26263F
(38,38,63)
#1F2034
(31,32,52)
#181A29
(24,26,41)
#11141E
(17,20,30)
#0A0E13
(10,14,19)
#000000
(0,0,0)

Tints of #504A81

#504A81
(80,74,129)
#5F5A8C
(95,90,140)
#6E6A97
(110,106,151)
#7D7AA2
(125,122,162)
#8C8AAD
(140,138,173)
#9B9AB8
(155,154,184)
#AAAAC3
(170,170,195)
#B9BACE
(185,186,206)
#C8CAD9
(200,202,217)
#D7DAE4
(215,218,228)
#E6EAEF
(230,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504A81; }

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

This text font color is #504A81.


Background Color

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

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

This div background color is #504A81.


Border color

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

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

This div border color is #504A81.


Opacity

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

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

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

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

This text has shadow with #504A81 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504A81 on black background.


Color preview on white background

This text has color #504A81 on white background.



Black color preview on #504A81 background

This text has black color on #504A81 background.


White color preview on #504A81 background

This text has white color on #504A81 background.