COLOR #5A6C95

HEX: #5A6C95
RGB: (90,108,149)

Color info

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

RGB color model

#5A6C95 color RGB value is (90,108,149).

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

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 149 of 255 = 58%

90
108
149

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

Portions of RGB colors in percentages

R + G + B =
90 + 108 + 149 = 347 (100%)
R 90 of 347 ~ 25.94%
G 108 of 347 ~ 31.12%
B 149 of 347 ~ 42.94%

%25.94
%31.12
%42.94

CMYK color model

#5A6C95 color CMYK value is (40,28,0,42).

  • cyan value is 39.60%
  • magenta value is 27.52%
  • yellow value is 0.00%
  • key color value is 41.57%
CMYK:
(40,28,0,42)
C40M28Y0K42 
(40%,28%,0%,42%)
(0.40/0.28/0.00/0.42)	

CMYK percentages

%39.6
%27.52
%0
%41.57

Codes

Color #5A6C95 in popluar color models

5A6C95
RGB90108149
HSL222°24.69%46.86%
HSB/HSV222°39.60%58.43%
CMYK39.60%27.52%0.00%
41.57%

Color #5A6C95 in popluar number systems.

HEX5A6C95
Decimal90108149
Binary1011010110110010010101
Octal132154225

Shades and tints

Shades of #5A6C95

#5A6C95
(90,108,149)
#526388
(82,99,136)
#4A5A7B
(74,90,123)
#42516E
(66,81,110)
#3A4861
(58,72,97)
#323F54
(50,63,84)
#2A3647
(42,54,71)
#222D3A
(34,45,58)
#1A242D
(26,36,45)
#121B20
(18,27,32)
#0A1213
(10,18,19)
#000000
(0,0,0)

Tints of #5A6C95

#5A6C95
(90,108,149)
#69799E
(105,121,158)
#7886A7
(120,134,167)
#8793B0
(135,147,176)
#96A0B9
(150,160,185)
#A5ADC2
(165,173,194)
#B4BACB
(180,186,203)
#C3C7D4
(195,199,212)
#D2D4DD
(210,212,221)
#E1E1E6
(225,225,230)
#F0EEEF
(240,238,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C95; }

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

This text font color is #5A6C95.


Background Color

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

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

This div background color is #5A6C95.


Border color

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

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

This div border color is #5A6C95.


Opacity

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

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

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

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

This text has shadow with #5A6C95 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6C95 on black background.


Color preview on white background

This text has color #5A6C95 on white background.



Black color preview on #5A6C95 background

This text has black color on #5A6C95 background.


White color preview on #5A6C95 background

This text has white color on #5A6C95 background.