COLOR #504A9B

HEX: #504A9B RGB: (80,74,155)

Color info

#504A9B contains mainly blue color. Web safe color of #504A9B is #663399 (or #639).

RGB color model

#504A9B color RGB value is (80,74,155).

RGB: (80,74,155) (31%, 29%, 61%)

RGB channels and saturation

R 80 of 255 = 31%
G 74 of 255 = 29%
B 155 of 255 = 61%

80
74
155

R + G + B ~ 40%. #504A9B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 80 + 74 + 155 = 309 (100%)
R 80 of 309 ~ 25.89%
G 74 of 309 ~ 23.95%
B 155 of 309 ~ 50.16'%

%25.89
%23.95
%50.16

CMYK color model

#504A9B color CMYK value is (48,52,0,39).

  • cyan value is 48.39%
  • magenta value is 52.26%
  • yellow value is 0.00%
  • key color value is 39.22%

CMYK: (48,52,0,39)
C48M52Y0K39 (48%, 52%, 0%, 39%)
(0.48 / 0.52 / 0.00 / 0.39)

CMYK percentages

%48.39
%52.26
%0
%39.22

Codes

Color #504A9B in popluar color models

50 4A 9B
RGB 80 74 155
HSL 244° 35.37% 44.90%
HSB/HSV 244° 52.26% 60.78%
CMYK 48.39% 52.26% 0.00%
39.22%

Color #504A9B in popluar number systems.

HEX 50 4A 9B
Decimal 80 74 155
Binary 1010000 1001010 10011011
Octal 120 112 233

Shades and tints

Shades of #504A9B

#504A9B
(80,74,155)
#49448D
(73,68,141)
#423E7F
(66,62,127)
#3B3871
(59,56,113)
#343263
(52,50,99)
#2D2C55
(45,44,85)
#262647
(38,38,71)
#1F2039
(31,32,57)
#181A2B
(24,26,43)
#11141D
(17,20,29)
#0A0E0F
(10,14,15)
#000000
(0,0,0)

Tints of #504A9B

#504A9B
(80,74,155)
#5F5AA4
(95,90,164)
#6E6AAD
(110,106,173)
#7D7AB6
(125,122,182)
#8C8ABF
(140,138,191)
#9B9AC8
(155,154,200)
#AAAAD1
(170,170,209)
#B9BADA
(185,186,218)
#C8CAE3
(200,202,227)
#D7DAEC
(215,218,236)
#E6EAF5
(230,234,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504A9B; }

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

This text font color is #504A9B.

Background Color

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

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

This div background color is #504A9B.

Border color

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

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

This div border color is #504A9B.

Opacity

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

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

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

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

This text has shadow with #504A9B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #504A9B.

Preview

Color preview on black background

This text has color #504A9B on black background.


Color preview on white background

This text has color #504A9B on white background.


Black color preview on #504A9B background

This text has black color on #504A9B background.


White color preview on #504A9B background

This text has white color on #504A9B background.


Related colors

Complementary color

Complementary color for #hex is #AFB564.


I love getcolorcode.com

Triadic colors

1 #9B504A and #4A9B50 with #504A9B are triadic colors.

2 #9B4A50 and #4A509B with #504A9B are triadic colors.