COLOR #5A7298

HEX: #5A7298 RGB: (90,114,152)

Color info

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

RGB color model

#5A7298 color RGB value is (90,114,152).

RGB: (90,114,152) (35%, 45%, 60%)

RGB channels and saturation

R 90 of 255 = 35%
G 114 of 255 = 45%
B 152 of 255 = 60%

90
114
152

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

Portions of RGB colors in percentages

R + G + B = 90 + 114 + 152 = 356 (100%)
R 90 of 356 ~ 25.28%
G 114 of 356 ~ 32.02%
B 152 of 356 ~ 42.7'%

%25.28
%32.02
%42.7

CMYK color model

#5A7298 color CMYK value is (41,25,0,40).

  • cyan value is 40.79%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (41,25,0,40)
C41M25Y0K40 (41%, 25%, 0%, 40%)
(0.41 / 0.25 / 0.00 / 0.40)

CMYK percentages

%40.79
%25
%0
%40.39

Codes

Color #5A7298 in popluar color models

5A 72 98
RGB 90 114 152
HSL 217° 25.62% 47.45%
HSB/HSV 217° 40.79% 59.61%
CMYK 40.79% 25.00% 0.00%
40.39%

Color #5A7298 in popluar number systems.

HEX 5A 72 98
Decimal 90 114 152
Binary 1011010 1110010 10011000
Octal 132 162 230

Shades and tints

Shades of #5A7298

#5A7298
(90,114,152)
#52688B
(82,104,139)
#4A5E7E
(74,94,126)
#425471
(66,84,113)
#3A4A64
(58,74,100)
#324057
(50,64,87)
#2A364A
(42,54,74)
#222C3D
(34,44,61)
#1A2230
(26,34,48)
#121823
(18,24,35)
#0A0E16
(10,14,22)
#000000
(0,0,0)

Tints of #5A7298

#5A7298
(90,114,152)
#697EA1
(105,126,161)
#788AAA
(120,138,170)
#8796B3
(135,150,179)
#96A2BC
(150,162,188)
#A5AEC5
(165,174,197)
#B4BACE
(180,186,206)
#C3C6D7
(195,198,215)
#D2D2E0
(210,210,224)
#E1DEE9
(225,222,233)
#F0EAF2
(240,234,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7298; }

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

This text font color is #5A7298.

Background Color

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

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

This div background color is #5A7298.

Border color

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

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

This div border color is #5A7298.

Opacity

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

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

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

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

This text has shadow with #5A7298 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7298.

Preview

Color preview on black background

This text has color #5A7298 on black background.


Color preview on white background

This text has color #5A7298 on white background.


Black color preview on #5A7298 background

This text has black color on #5A7298 background.


White color preview on #5A7298 background

This text has white color on #5A7298 background.


Related colors

Complementary color

Complementary color for #hex is #A58D67.


I love getcolorcode.com

Triadic colors

1 #985A72 and #72985A with #5A7298 are triadic colors.

2 #98725A and #725A98 with #5A7298 are triadic colors.