COLOR #5A468B

HEX: #5A468B
RGB: (90,70,139)

Color info

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

RGB color model

#5A468B color RGB value is (90,70,139).

  • red value is 90;
  • green value is 70;
  • blue value is 139.
RGB:
(90,70,139)
(35%,27%,55%)

RGB channels and saturation

R 90 of 255 = 35%
G 70 of 255 = 27%
B 139 of 255 = 55%

90
70
139

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

Portions of RGB colors in percentages

R + G + B =
90 + 70 + 139 = 299 (100%)
R 90 of 299 ~ 30.1%
G 70 of 299 ~ 23.41%
B 139 of 299 ~ 46.49%

%30.1
%23.41
%46.49

CMYK color model

#5A468B color CMYK value is (35,50,0,45).

  • cyan value is 35.25%
  • magenta value is 49.64%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(35,50,0,45)
C35M50Y0K45 
(35%,50%,0%,45%)
(0.35/0.50/0.00/0.45)	

CMYK percentages

%35.25
%49.64
%0
%45.49

Codes

Color #5A468B in popluar color models

5A468B
RGB9070139
HSL257°33.01%40.98%
HSB/HSV257°49.64%54.51%
CMYK35.25%49.64%0.00%
45.49%

Color #5A468B in popluar number systems.

HEX5A468B
Decimal9070139
Binary1011010100011010001011
Octal132106213

Shades and tints

Shades of #5A468B

#5A468B
(90,70,139)
#52407F
(82,64,127)
#4A3A73
(74,58,115)
#423467
(66,52,103)
#3A2E5B
(58,46,91)
#32284F
(50,40,79)
#2A2243
(42,34,67)
#221C37
(34,28,55)
#1A162B
(26,22,43)
#12101F
(18,16,31)
#0A0A13
(10,10,19)
#000000
(0,0,0)

Tints of #5A468B

#5A468B
(90,70,139)
#695695
(105,86,149)
#78669F
(120,102,159)
#8776A9
(135,118,169)
#9686B3
(150,134,179)
#A596BD
(165,150,189)
#B4A6C7
(180,166,199)
#C3B6D1
(195,182,209)
#D2C6DB
(210,198,219)
#E1D6E5
(225,214,229)
#F0E6EF
(240,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A468B color. Also use rgb(90,70,139) instead hex code.

Text Font Color

.myTextColor { color: #5A468B; }

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

This text font color is #5A468B.


Background Color

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

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

This div background color is #5A468B.


Border color

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

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

This div border color is #5A468B.


Opacity

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

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

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

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

This text has shadow with #5A468B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A468B on black background.


Color preview on white background

This text has color #5A468B on white background.



Black color preview on #5A468B background

This text has black color on #5A468B background.


White color preview on #5A468B background

This text has white color on #5A468B background.