COLOR #5A46A8

HEX: #5A46A8 RGB: (90,70,168)

Color info

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

RGB color model

#5A46A8 color RGB value is (90,70,168).

RGB: (90,70,168) (35%, 27%, 66%)

RGB channels and saturation

R 90 of 255 = 35%
G 70 of 255 = 27%
B 168 of 255 = 66%

90
70
168

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

Portions of RGB colors in percentages

R + G + B = 90 + 70 + 168 = 328 (100%)
R 90 of 328 ~ 27.44%
G 70 of 328 ~ 21.34%
B 168 of 328 ~ 51.22'%

%27.44
%21.34
%51.22

CMYK color model

#5A46A8 color CMYK value is (46,58,0,34).

  • cyan value is 46.43%
  • magenta value is 58.33%
  • yellow value is 0.00%
  • key color value is 34.12%

CMYK: (46,58,0,34)
C46M58Y0K34 (46%, 58%, 0%, 34%)
(0.46 / 0.58 / 0.00 / 0.34)

CMYK percentages

%46.43
%58.33
%0
%34.12

Codes

Color #5A46A8 in popluar color models

5A 46 A8
RGB 90 70 168
HSL 252° 41.18% 46.67%
HSB/HSV 252° 58.33% 65.88%
CMYK 46.43% 58.33% 0.00%
34.12%

Color #5A46A8 in popluar number systems.

HEX 5A 46 A8
Decimal 90 70 168
Binary 1011010 1000110 10101000
Octal 132 106 250

Shades and tints

Shades of #5A46A8

#5A46A8
(90,70,168)
#524099
(82,64,153)
#4A3A8A
(74,58,138)
#42347B
(66,52,123)
#3A2E6C
(58,46,108)
#32285D
(50,40,93)
#2A224E
(42,34,78)
#221C3F
(34,28,63)
#1A1630
(26,22,48)
#121021
(18,16,33)
#0A0A12
(10,10,18)
#000000
(0,0,0)

Tints of #5A46A8

#5A46A8
(90,70,168)
#6956AF
(105,86,175)
#7866B6
(120,102,182)
#8776BD
(135,118,189)
#9686C4
(150,134,196)
#A596CB
(165,150,203)
#B4A6D2
(180,166,210)
#C3B6D9
(195,182,217)
#D2C6E0
(210,198,224)
#E1D6E7
(225,214,231)
#F0E6EE
(240,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A46A8; }

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

This text font color is #5A46A8.

Background Color

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

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

This div background color is #5A46A8.

Border color

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

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

This div border color is #5A46A8.

Opacity

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

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

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

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

This text has shadow with #5A46A8 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A46A8.

Preview

Color preview on black background

This text has color #5A46A8 on black background.


Color preview on white background

This text has color #5A46A8 on white background.


Black color preview on #5A46A8 background

This text has black color on #5A46A8 background.


White color preview on #5A46A8 background

This text has white color on #5A46A8 background.


Related colors

Complementary color

Complementary color for #hex is #A5B957.


I love getcolorcode.com

Triadic colors

1 #A85A46 and #46A85A with #5A46A8 are triadic colors.

2 #A8465A and #465AA8 with #5A46A8 are triadic colors.