COLOR #5A528C

HEX: #5A528C RGB: (90,82,140)

Color info

#5A528C contains red, green and blue colors in about the same proportion. Web safe color of #5A528C is #666699 (or #669).

RGB color model

#5A528C color RGB value is (90,82,140).

RGB: (90,82,140) (35%, 32%, 55%)

RGB channels and saturation

R 90 of 255 = 35%
G 82 of 255 = 32%
B 140 of 255 = 55%

90
82
140

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

Portions of RGB colors in percentages

R + G + B = 90 + 82 + 140 = 312 (100%)
R 90 of 312 ~ 28.85%
G 82 of 312 ~ 26.28%
B 140 of 312 ~ 44.87'%

%28.85
%26.28
%44.87

CMYK color model

#5A528C color CMYK value is (36,41,0,45).

  • cyan value is 35.71%
  • magenta value is 41.43%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (36,41,0,45)
C36M41Y0K45 (36%, 41%, 0%, 45%)
(0.36 / 0.41 / 0.00 / 0.45)

CMYK percentages

%35.71
%41.43
%0
%45.1

Codes

Color #5A528C in popluar color models

5A 52 8C
RGB 90 82 140
HSL 248° 26.13% 43.53%
HSB/HSV 248° 41.43% 54.90%
CMYK 35.71% 41.43% 0.00%
45.10%

Color #5A528C in popluar number systems.

HEX 5A 52 8C
Decimal 90 82 140
Binary 1011010 1010010 10001100
Octal 132 122 214

Shades and tints

Shades of #5A528C

#5A528C
(90,82,140)
#524B80
(82,75,128)
#4A4474
(74,68,116)
#423D68
(66,61,104)
#3A365C
(58,54,92)
#322F50
(50,47,80)
#2A2844
(42,40,68)
#222138
(34,33,56)
#1A1A2C
(26,26,44)
#121320
(18,19,32)
#0A0C14
(10,12,20)
#000000
(0,0,0)

Tints of #5A528C

#5A528C
(90,82,140)
#696196
(105,97,150)
#7870A0
(120,112,160)
#877FAA
(135,127,170)
#968EB4
(150,142,180)
#A59DBE
(165,157,190)
#B4ACC8
(180,172,200)
#C3BBD2
(195,187,210)
#D2CADC
(210,202,220)
#E1D9E6
(225,217,230)
#F0E8F0
(240,232,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A528C; }

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

This text font color is #5A528C.

Background Color

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

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

This div background color is #5A528C.

Border color

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

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

This div border color is #5A528C.

Opacity

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

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

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

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

This text has shadow with #5A528C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A528C.

Preview

Color preview on black background

This text has color #5A528C on black background.


Color preview on white background

This text has color #5A528C on white background.


Black color preview on #5A528C background

This text has black color on #5A528C background.


White color preview on #5A528C background

This text has white color on #5A528C background.


Related colors

Complementary color

Complementary color for #hex is #A5AD73.


I love getcolorcode.com

Triadic colors

1 #8C5A52 and #528C5A with #5A528C are triadic colors.

2 #8C525A and #525A8C with #5A528C are triadic colors.