COLOR #5A5288

HEX: #5A5288
RGB: (90,82,136)

Color info

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

RGB color model

#5A5288 color RGB value is (90,82,136).

  • red value is 90;
  • green value is 82;
  • blue value is 136.
RGB:
(90,82,136)
(35%,32%,53%)

RGB channels and saturation

R 90 of 255 = 35%
G 82 of 255 = 32%
B 136 of 255 = 53%

90
82
136

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

Portions of RGB colors in percentages

R + G + B =
90 + 82 + 136 = 308 (100%)
R 90 of 308 ~ 29.22%
G 82 of 308 ~ 26.62%
B 136 of 308 ~ 44.16%

%29.22
%26.62
%44.16

CMYK color model

#5A5288 color CMYK value is (34,40,0,47).

  • cyan value is 33.82%
  • magenta value is 39.71%
  • yellow value is 0.00%
  • key color value is 46.67%
CMYK:
(34,40,0,47)
C34M40Y0K47 
(34%,40%,0%,47%)
(0.34/0.40/0.00/0.47)	

CMYK percentages

%33.82
%39.71
%0
%46.67

Codes

Color #5A5288 in popluar color models

5A5288
RGB9082136
HSL249°24.77%42.75%
HSB/HSV249°39.71%53.33%
CMYK33.82%39.71%0.00%
46.67%

Color #5A5288 in popluar number systems.

HEX5A5288
Decimal9082136
Binary1011010101001010001000
Octal132122210

Shades and tints

Shades of #5A5288

#5A5288
(90,82,136)
#524B7C
(82,75,124)
#4A4470
(74,68,112)
#423D64
(66,61,100)
#3A3658
(58,54,88)
#322F4C
(50,47,76)
#2A2840
(42,40,64)
#222134
(34,33,52)
#1A1A28
(26,26,40)
#12131C
(18,19,28)
#0A0C10
(10,12,16)
#000000
(0,0,0)

Tints of #5A5288

#5A5288
(90,82,136)
#696192
(105,97,146)
#78709C
(120,112,156)
#877FA6
(135,127,166)
#968EB0
(150,142,176)
#A59DBA
(165,157,186)
#B4ACC4
(180,172,196)
#C3BBCE
(195,187,206)
#D2CAD8
(210,202,216)
#E1D9E2
(225,217,226)
#F0E8EC
(240,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5288; }

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

This text font color is #5A5288.


Background Color

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

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

This div background color is #5A5288.


Border color

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

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

This div border color is #5A5288.


Opacity

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

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

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

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

This text has shadow with #5A5288 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5288 on black background.


Color preview on white background

This text has color #5A5288 on white background.



Black color preview on #5A5288 background

This text has black color on #5A5288 background.


White color preview on #5A5288 background

This text has white color on #5A5288 background.