COLOR #5A488C

HEX: #5A488C
RGB: (90,72,140)

Color info

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

RGB color model

#5A488C color RGB value is (90,72,140).

  • red value is 90;
  • green value is 72;
  • blue value is 140.
RGB:
(90,72,140)
(35%,28%,55%)

RGB channels and saturation

R 90 of 255 = 35%
G 72 of 255 = 28%
B 140 of 255 = 55%

90
72
140

R + G + B ~ 39%. #5A488C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 72 + 140 = 302 (100%)
R 90 of 302 ~ 29.8%
G 72 of 302 ~ 23.84%
B 140 of 302 ~ 46.36%

%29.8
%23.84
%46.36

CMYK color model

#5A488C color CMYK value is (36,49,0,45).

  • cyan value is 35.71%
  • magenta value is 48.57%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(36,49,0,45)
C36M49Y0K45 
(36%,49%,0%,45%)
(0.36/0.49/0.00/0.45)	

CMYK percentages

%35.71
%48.57
%0
%45.1

Codes

Color #5A488C in popluar color models

5A488C
RGB9072140
HSL256°32.08%41.57%
HSB/HSV256°48.57%54.90%
CMYK35.71%48.57%0.00%
45.10%

Color #5A488C in popluar number systems.

HEX5A488C
Decimal9072140
Binary1011010100100010001100
Octal132110214

Shades and tints

Shades of #5A488C

#5A488C
(90,72,140)
#524280
(82,66,128)
#4A3C74
(74,60,116)
#423668
(66,54,104)
#3A305C
(58,48,92)
#322A50
(50,42,80)
#2A2444
(42,36,68)
#221E38
(34,30,56)
#1A182C
(26,24,44)
#121220
(18,18,32)
#0A0C14
(10,12,20)
#000000
(0,0,0)

Tints of #5A488C

#5A488C
(90,72,140)
#695896
(105,88,150)
#7868A0
(120,104,160)
#8778AA
(135,120,170)
#9688B4
(150,136,180)
#A598BE
(165,152,190)
#B4A8C8
(180,168,200)
#C3B8D2
(195,184,210)
#D2C8DC
(210,200,220)
#E1D8E6
(225,216,230)
#F0E8F0
(240,232,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A488C color. Also use rgb(90,72,140) instead hex code.

Text Font Color

.myTextColor { color: #5A488C; }

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

This text font color is #5A488C.


Background Color

.myBgColor { background-color: #5A488C; }

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

This div background color is #5A488C.


Border color

.myBorderColor { border: 1px solid #5A488C; }

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

This div border color is #5A488C.


Opacity

.myOpacity80 { color: #5A488C; opacity: 0.8; }

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

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

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

This text has shadow with #5A488C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A488C on black background.


Color preview on white background

This text has color #5A488C on white background.



Black color preview on #5A488C background

This text has black color on #5A488C background.


White color preview on #5A488C background

This text has white color on #5A488C background.