COLOR #5A6B8C

HEX: #5A6B8C
RGB: (90,107,140)

Color info

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

RGB color model

#5A6B8C color RGB value is (90,107,140).

  • red value is 90;
  • green value is 107;
  • blue value is 140.
RGB:
(90,107,140)
(35%,42%,55%)

RGB channels and saturation

R 90 of 255 = 35%
G 107 of 255 = 42%
B 140 of 255 = 55%

90
107
140

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

Portions of RGB colors in percentages

R + G + B =
90 + 107 + 140 = 337 (100%)
R 90 of 337 ~ 26.71%
G 107 of 337 ~ 31.75%
B 140 of 337 ~ 41.54%

%26.71
%31.75
%41.54

CMYK color model

#5A6B8C color CMYK value is (36,24,0,45).

  • cyan value is 35.71%
  • magenta value is 23.57%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(36,24,0,45)
C36M24Y0K45 
(36%,24%,0%,45%)
(0.36/0.24/0.00/0.45)	

CMYK percentages

%35.71
%23.57
%0
%45.1

Codes

Color #5A6B8C in popluar color models

5A6B8C
RGB90107140
HSL220°21.74%45.10%
HSB/HSV220°35.71%54.90%
CMYK35.71%23.57%0.00%
45.10%

Color #5A6B8C in popluar number systems.

HEX5A6B8C
Decimal90107140
Binary1011010110101110001100
Octal132153214

Shades and tints

Shades of #5A6B8C

#5A6B8C
(90,107,140)
#526280
(82,98,128)
#4A5974
(74,89,116)
#425068
(66,80,104)
#3A475C
(58,71,92)
#323E50
(50,62,80)
#2A3544
(42,53,68)
#222C38
(34,44,56)
#1A232C
(26,35,44)
#121A20
(18,26,32)
#0A1114
(10,17,20)
#000000
(0,0,0)

Tints of #5A6B8C

#5A6B8C
(90,107,140)
#697896
(105,120,150)
#7885A0
(120,133,160)
#8792AA
(135,146,170)
#969FB4
(150,159,180)
#A5ACBE
(165,172,190)
#B4B9C8
(180,185,200)
#C3C6D2
(195,198,210)
#D2D3DC
(210,211,220)
#E1E0E6
(225,224,230)
#F0EDF0
(240,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6B8C; }

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

This text font color is #5A6B8C.


Background Color

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

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

This div background color is #5A6B8C.


Border color

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

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

This div border color is #5A6B8C.


Opacity

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

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

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

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

This text has shadow with #5A6B8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6B8C on black background.


Color preview on white background

This text has color #5A6B8C on white background.



Black color preview on #5A6B8C background

This text has black color on #5A6B8C background.


White color preview on #5A6B8C background

This text has white color on #5A6B8C background.