COLOR #504790

HEX: #504790
RGB: (80,71,144)

Color info

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

RGB color model

#504790 color RGB value is (80,71,144).

  • red value is 80;
  • green value is 71;
  • blue value is 144.
RGB:
(80,71,144)
(31%,28%,56%)

RGB channels and saturation

R 80 of 255 = 31%
G 71 of 255 = 28%
B 144 of 255 = 56%

80
71
144

R + G + B ~ 38%. #504790 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 71 + 144 = 295 (100%)
R 80 of 295 ~ 27.12%
G 71 of 295 ~ 24.07%
B 144 of 295 ~ 48.81%

%27.12
%24.07
%48.81

CMYK color model

#504790 color CMYK value is (44,51,0,44).

  • cyan value is 44.44%
  • magenta value is 50.69%
  • yellow value is 0.00%
  • key color value is 43.53%
CMYK:
(44,51,0,44)
C44M51Y0K44 
(44%,51%,0%,44%)
(0.44/0.51/0.00/0.44)	

CMYK percentages

%44.44
%50.69
%0
%43.53

Codes

Color #504790 in popluar color models

504790
RGB8071144
HSL247°33.95%42.16%
HSB/HSV247°50.69%56.47%
CMYK44.44%50.69%0.00%
43.53%

Color #504790 in popluar number systems.

HEX504790
Decimal8071144
Binary1010000100011110010000
Octal120107220

Shades and tints

Shades of #504790

#504790
(80,71,144)
#494183
(73,65,131)
#423B76
(66,59,118)
#3B3569
(59,53,105)
#342F5C
(52,47,92)
#2D294F
(45,41,79)
#262342
(38,35,66)
#1F1D35
(31,29,53)
#181728
(24,23,40)
#11111B
(17,17,27)
#0A0B0E
(10,11,14)
#000000
(0,0,0)

Tints of #504790

#504790
(80,71,144)
#5F579A
(95,87,154)
#6E67A4
(110,103,164)
#7D77AE
(125,119,174)
#8C87B8
(140,135,184)
#9B97C2
(155,151,194)
#AAA7CC
(170,167,204)
#B9B7D6
(185,183,214)
#C8C7E0
(200,199,224)
#D7D7EA
(215,215,234)
#E6E7F4
(230,231,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #504790; }

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

This text font color is #504790.


Background Color

.myBgColor { background-color: #504790; }

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

This div background color is #504790.


Border color

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

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

This div border color is #504790.


Opacity

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

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

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

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

This text has shadow with #504790 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504790 on black background.


Color preview on white background

This text has color #504790 on white background.



Black color preview on #504790 background

This text has black color on #504790 background.


White color preview on #504790 background

This text has white color on #504790 background.