COLOR #5A5C95

HEX: #5A5C95
RGB: (90,92,149)

Color info

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

RGB color model

#5A5C95 color RGB value is (90,92,149).

  • red value is 90;
  • green value is 92;
  • blue value is 149.
RGB:
(90,92,149)
(35%,36%,58%)

RGB channels and saturation

R 90 of 255 = 35%
G 92 of 255 = 36%
B 149 of 255 = 58%

90
92
149

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

Portions of RGB colors in percentages

R + G + B =
90 + 92 + 149 = 331 (100%)
R 90 of 331 ~ 27.19%
G 92 of 331 ~ 27.79%
B 149 of 331 ~ 45.02%

%27.19
%27.79
%45.02

CMYK color model

#5A5C95 color CMYK value is (40,38,0,42).

  • cyan value is 39.60%
  • magenta value is 38.26%
  • yellow value is 0.00%
  • key color value is 41.57%
CMYK:
(40,38,0,42)
C40M38Y0K42 
(40%,38%,0%,42%)
(0.40/0.38/0.00/0.42)	

CMYK percentages

%39.6
%38.26
%0
%41.57

Codes

Color #5A5C95 in popluar color models

5A5C95
RGB9092149
HSL238°24.69%46.86%
HSB/HSV238°39.60%58.43%
CMYK39.60%38.26%0.00%
41.57%

Color #5A5C95 in popluar number systems.

HEX5A5C95
Decimal9092149
Binary1011010101110010010101
Octal132134225

Shades and tints

Shades of #5A5C95

#5A5C95
(90,92,149)
#525488
(82,84,136)
#4A4C7B
(74,76,123)
#42446E
(66,68,110)
#3A3C61
(58,60,97)
#323454
(50,52,84)
#2A2C47
(42,44,71)
#22243A
(34,36,58)
#1A1C2D
(26,28,45)
#121420
(18,20,32)
#0A0C13
(10,12,19)
#000000
(0,0,0)

Tints of #5A5C95

#5A5C95
(90,92,149)
#696A9E
(105,106,158)
#7878A7
(120,120,167)
#8786B0
(135,134,176)
#9694B9
(150,148,185)
#A5A2C2
(165,162,194)
#B4B0CB
(180,176,203)
#C3BED4
(195,190,212)
#D2CCDD
(210,204,221)
#E1DAE6
(225,218,230)
#F0E8EF
(240,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5C95 color. Also use rgb(90,92,149) instead hex code.

Text Font Color

.myTextColor { color: #5A5C95; }

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

This text font color is #5A5C95.


Background Color

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

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

This div background color is #5A5C95.


Border color

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

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

This div border color is #5A5C95.


Opacity

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

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

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

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

This text has shadow with #5A5C95 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5C95 on black background.


Color preview on white background

This text has color #5A5C95 on white background.



Black color preview on #5A5C95 background

This text has black color on #5A5C95 background.


White color preview on #5A5C95 background

This text has white color on #5A5C95 background.