COLOR #504788

HEX: #504788 RGB: (80,71,136)

Color info

#504788 contains mainly red and blue colors. Web safe color of #504788 is #663399 (or #639).

RGB color model

#504788 color RGB value is (80,71,136).

RGB: (80,71,136) (31%, 28%, 53%)

RGB channels and saturation

R 80 of 255 = 31%
G 71 of 255 = 28%
B 136 of 255 = 53%

80
71
136

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

Portions of RGB colors in percentages

R + G + B = 80 + 71 + 136 = 287 (100%)
R 80 of 287 ~ 27.87%
G 71 of 287 ~ 24.74%
B 136 of 287 ~ 47.39'%

%27.87
%24.74
%47.39

CMYK color model

#504788 color CMYK value is (41,48,0,47).

  • cyan value is 41.18%
  • magenta value is 47.79%
  • yellow value is 0.00%
  • key color value is 46.67%

CMYK: (41,48,0,47)
C41M48Y0K47 (41%, 48%, 0%, 47%)
(0.41 / 0.48 / 0.00 / 0.47)

CMYK percentages

%41.18
%47.79
%0
%46.67

Codes

Color #504788 in popluar color models

50 47 88
RGB 80 71 136
HSL 248° 31.40% 40.59%
HSB/HSV 248° 47.79% 53.33%
CMYK 41.18% 47.79% 0.00%
46.67%

Color #504788 in popluar number systems.

HEX 50 47 88
Decimal 80 71 136
Binary 1010000 1000111 10001000
Octal 120 107 210

Shades and tints

Shades of #504788

#504788
(80,71,136)
#49417C
(73,65,124)
#423B70
(66,59,112)
#3B3564
(59,53,100)
#342F58
(52,47,88)
#2D294C
(45,41,76)
#262340
(38,35,64)
#1F1D34
(31,29,52)
#181728
(24,23,40)
#11111C
(17,17,28)
#0A0B10
(10,11,16)
#000000
(0,0,0)

Tints of #504788

#504788
(80,71,136)
#5F5792
(95,87,146)
#6E679C
(110,103,156)
#7D77A6
(125,119,166)
#8C87B0
(140,135,176)
#9B97BA
(155,151,186)
#AAA7C4
(170,167,196)
#B9B7CE
(185,183,206)
#C8C7D8
(200,199,216)
#D7D7E2
(215,215,226)
#E6E7EC
(230,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504788 color. Also use rgb(80,71,136) instead hex code.

Text Font Color

.myTextColor { color: #504788; }

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

This text font color is #504788.

Background Color

.myBgColor { background-color: #504788; }

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

This div background color is #504788.

Border color

.myBorderColor { border: 1px solid #504788; }

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

This div border color is #504788.

Opacity

.myOpacity80 { color: #504788; opacity: 0.8; }

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

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

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

This text has shadow with #504788 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #504788.

Preview

Color preview on black background

This text has color #504788 on black background.


Color preview on white background

This text has color #504788 on white background.


Black color preview on #504788 background

This text has black color on #504788 background.


White color preview on #504788 background

This text has white color on #504788 background.


Related colors

Complementary color

Complementary color for #hex is #AFB877.


I love getcolorcode.com

Triadic colors

1 #885047 and #478850 with #504788 are triadic colors.

2 #884750 and #475088 with #504788 are triadic colors.