COLOR #5A6C98

HEX: #5A6C98
RGB: (90,108,152)

Color info

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

RGB color model

#5A6C98 color RGB value is (90,108,152).

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

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 152 of 255 = 60%

90
108
152

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

Portions of RGB colors in percentages

R + G + B =
90 + 108 + 152 = 350 (100%)
R 90 of 350 ~ 25.71%
G 108 of 350 ~ 30.86%
B 152 of 350 ~ 43.43%

%25.71
%30.86
%43.43

CMYK color model

#5A6C98 color CMYK value is (41,29,0,40).

  • cyan value is 40.79%
  • magenta value is 28.95%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(41,29,0,40)
C41M29Y0K40 
(41%,29%,0%,40%)
(0.41/0.29/0.00/0.40)	

CMYK percentages

%40.79
%28.95
%0
%40.39

Codes

Color #5A6C98 in popluar color models

5A6C98
RGB90108152
HSL223°25.62%47.45%
HSB/HSV223°40.79%59.61%
CMYK40.79%28.95%0.00%
40.39%

Color #5A6C98 in popluar number systems.

HEX5A6C98
Decimal90108152
Binary1011010110110010011000
Octal132154230

Shades and tints

Shades of #5A6C98

#5A6C98
(90,108,152)
#52638B
(82,99,139)
#4A5A7E
(74,90,126)
#425171
(66,81,113)
#3A4864
(58,72,100)
#323F57
(50,63,87)
#2A364A
(42,54,74)
#222D3D
(34,45,61)
#1A2430
(26,36,48)
#121B23
(18,27,35)
#0A1216
(10,18,22)
#000000
(0,0,0)

Tints of #5A6C98

#5A6C98
(90,108,152)
#6979A1
(105,121,161)
#7886AA
(120,134,170)
#8793B3
(135,147,179)
#96A0BC
(150,160,188)
#A5ADC5
(165,173,197)
#B4BACE
(180,186,206)
#C3C7D7
(195,199,215)
#D2D4E0
(210,212,224)
#E1E1E9
(225,225,233)
#F0EEF2
(240,238,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C98; }

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

This text font color is #5A6C98.


Background Color

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

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

This div background color is #5A6C98.


Border color

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

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

This div border color is #5A6C98.


Opacity

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

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

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

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

This text has shadow with #5A6C98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6C98 on black background.


Color preview on white background

This text has color #5A6C98 on white background.



Black color preview on #5A6C98 background

This text has black color on #5A6C98 background.


White color preview on #5A6C98 background

This text has white color on #5A6C98 background.