COLOR #5A4BA7

HEX: #5A4BA7
RGB: (90,75,167)

Color info

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

RGB color model

#5A4BA7 color RGB value is (90,75,167).

  • red value is 90;
  • green value is 75;
  • blue value is 167.
RGB:
(90,75,167)
(35%,29%,65%)

RGB channels and saturation

R 90 of 255 = 35%
G 75 of 255 = 29%
B 167 of 255 = 65%

90
75
167

R + G + B ~ 43%. #5A4BA7 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
90 + 75 + 167 = 332 (100%)
R 90 of 332 ~ 27.11%
G 75 of 332 ~ 22.59%
B 167 of 332 ~ 50.3%

%27.11
%22.59
%50.3

CMYK color model

#5A4BA7 color CMYK value is (46,55,0,35).

  • cyan value is 46.11%
  • magenta value is 55.09%
  • yellow value is 0.00%
  • key color value is 34.51%
CMYK:
(46,55,0,35)
C46M55Y0K35 
(46%,55%,0%,35%)
(0.46/0.55/0.00/0.35)	

CMYK percentages

%46.11
%55.09
%0
%34.51

Codes

Color #5A4BA7 in popluar color models

5A4BA7
RGB9075167
HSL250°38.02%47.45%
HSB/HSV250°55.09%65.49%
CMYK46.11%55.09%0.00%
34.51%

Color #5A4BA7 in popluar number systems.

HEX5A4BA7
Decimal9075167
Binary1011010100101110100111
Octal132113247

Shades and tints

Shades of #5A4BA7

#5A4BA7
(90,75,167)
#524598
(82,69,152)
#4A3F89
(74,63,137)
#42397A
(66,57,122)
#3A336B
(58,51,107)
#322D5C
(50,45,92)
#2A274D
(42,39,77)
#22213E
(34,33,62)
#1A1B2F
(26,27,47)
#121520
(18,21,32)
#0A0F11
(10,15,17)
#000000
(0,0,0)

Tints of #5A4BA7

#5A4BA7
(90,75,167)
#695BAF
(105,91,175)
#786BB7
(120,107,183)
#877BBF
(135,123,191)
#968BC7
(150,139,199)
#A59BCF
(165,155,207)
#B4ABD7
(180,171,215)
#C3BBDF
(195,187,223)
#D2CBE7
(210,203,231)
#E1DBEF
(225,219,239)
#F0EBF7
(240,235,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4BA7 color. Also use rgb(90,75,167) instead hex code.

Text Font Color

.myTextColor { color: #5A4BA7; }

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

This text font color is #5A4BA7.


Background Color

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

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

This div background color is #5A4BA7.


Border color

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

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

This div border color is #5A4BA7.


Opacity

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

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

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

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

This text has shadow with #5A4BA7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4BA7 on black background.


Color preview on white background

This text has color #5A4BA7 on white background.



Black color preview on #5A4BA7 background

This text has black color on #5A4BA7 background.


White color preview on #5A4BA7 background

This text has white color on #5A4BA7 background.