COLOR #5A528F

HEX: #5A528F RGB: (90,82,143)

Color info

#5A528F contains mainly red and blue colors. Web safe color of #5A528F is #666699 (or #669).

RGB color model

#5A528F color RGB value is (90,82,143).

RGB: (90,82,143) (35%, 32%, 56%)

RGB channels and saturation

R 90 of 255 = 35%
G 82 of 255 = 32%
B 143 of 255 = 56%

90
82
143

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

Portions of RGB colors in percentages

R + G + B = 90 + 82 + 143 = 315 (100%)
R 90 of 315 ~ 28.57%
G 82 of 315 ~ 26.03%
B 143 of 315 ~ 45.4'%

%28.57
%26.03
%45.4

CMYK color model

#5A528F color CMYK value is (37,43,0,44).

  • cyan value is 37.06%
  • magenta value is 42.66%
  • yellow value is 0.00%
  • key color value is 43.92%

CMYK: (37,43,0,44)
C37M43Y0K44 (37%, 43%, 0%, 44%)
(0.37 / 0.43 / 0.00 / 0.44)

CMYK percentages

%37.06
%42.66
%0
%43.92

Codes

Color #5A528F in popluar color models

5A 52 8F
RGB 90 82 143
HSL 248° 27.11% 44.12%
HSB/HSV 248° 42.66% 56.08%
CMYK 37.06% 42.66% 0.00%
43.92%

Color #5A528F in popluar number systems.

HEX 5A 52 8F
Decimal 90 82 143
Binary 1011010 1010010 10001111
Octal 132 122 217

Shades and tints

Shades of #5A528F

#5A528F
(90,82,143)
#524B82
(82,75,130)
#4A4475
(74,68,117)
#423D68
(66,61,104)
#3A365B
(58,54,91)
#322F4E
(50,47,78)
#2A2841
(42,40,65)
#222134
(34,33,52)
#1A1A27
(26,26,39)
#12131A
(18,19,26)
#0A0C0D
(10,12,13)
#000000
(0,0,0)

Tints of #5A528F

#5A528F
(90,82,143)
#696199
(105,97,153)
#7870A3
(120,112,163)
#877FAD
(135,127,173)
#968EB7
(150,142,183)
#A59DC1
(165,157,193)
#B4ACCB
(180,172,203)
#C3BBD5
(195,187,213)
#D2CADF
(210,202,223)
#E1D9E9
(225,217,233)
#F0E8F3
(240,232,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A528F color. Also use rgb(90,82,143) instead hex code.

Text Font Color

.myTextColor { color: #5A528F; }

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

This text font color is #5A528F.

Background Color

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

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

This div background color is #5A528F.

Border color

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

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

This div border color is #5A528F.

Opacity

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

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

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

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

This text has shadow with #5A528F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A528F.

Preview

Color preview on black background

This text has color #5A528F on black background.


Color preview on white background

This text has color #5A528F on white background.


Black color preview on #5A528F background

This text has black color on #5A528F background.


White color preview on #5A528F background

This text has white color on #5A528F background.


Related colors

Complementary color

Complementary color for #hex is #A5AD70.


I love getcolorcode.com

Triadic colors

1 #8F5A52 and #528F5A with #5A528F are triadic colors.

2 #8F525A and #525A8F with #5A528F are triadic colors.