COLOR #5A6797

HEX: #5A6797
RGB: (90,103,151)

Color info

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

RGB color model

#5A6797 color RGB value is (90,103,151).

  • red value is 90;
  • green value is 103;
  • blue value is 151.
RGB:
(90,103,151)
(35%,40%,59%)

RGB channels and saturation

R 90 of 255 = 35%
G 103 of 255 = 40%
B 151 of 255 = 59%

90
103
151

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

Portions of RGB colors in percentages

R + G + B =
90 + 103 + 151 = 344 (100%)
R 90 of 344 ~ 26.16%
G 103 of 344 ~ 29.94%
B 151 of 344 ~ 43.9%

%26.16
%29.94
%43.9

CMYK color model

#5A6797 color CMYK value is (40,32,0,41).

  • cyan value is 40.40%
  • magenta value is 31.79%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(40,32,0,41)
C40M32Y0K41 
(40%,32%,0%,41%)
(0.40/0.32/0.00/0.41)	

CMYK percentages

%40.4
%31.79
%0
%40.78

Codes

Color #5A6797 in popluar color models

5A6797
RGB90103151
HSL227°25.31%47.25%
HSB/HSV227°40.40%59.22%
CMYK40.40%31.79%0.00%
40.78%

Color #5A6797 in popluar number systems.

HEX5A6797
Decimal90103151
Binary1011010110011110010111
Octal132147227

Shades and tints

Shades of #5A6797

#5A6797
(90,103,151)
#525E8A
(82,94,138)
#4A557D
(74,85,125)
#424C70
(66,76,112)
#3A4363
(58,67,99)
#323A56
(50,58,86)
#2A3149
(42,49,73)
#22283C
(34,40,60)
#1A1F2F
(26,31,47)
#121622
(18,22,34)
#0A0D15
(10,13,21)
#000000
(0,0,0)

Tints of #5A6797

#5A6797
(90,103,151)
#6974A0
(105,116,160)
#7881A9
(120,129,169)
#878EB2
(135,142,178)
#969BBB
(150,155,187)
#A5A8C4
(165,168,196)
#B4B5CD
(180,181,205)
#C3C2D6
(195,194,214)
#D2CFDF
(210,207,223)
#E1DCE8
(225,220,232)
#F0E9F1
(240,233,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6797 color. Also use rgb(90,103,151) instead hex code.

Text Font Color

.myTextColor { color: #5A6797; }

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

This text font color is #5A6797.


Background Color

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

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

This div background color is #5A6797.


Border color

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

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

This div border color is #5A6797.


Opacity

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

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

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

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

This text has shadow with #5A6797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6797 on black background.


Color preview on white background

This text has color #5A6797 on white background.



Black color preview on #5A6797 background

This text has black color on #5A6797 background.


White color preview on #5A6797 background

This text has white color on #5A6797 background.