COLOR #5A6498

HEX: #5A6498 RGB: (90,100,152)

Color info

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

RGB color model

#5A6498 color RGB value is (90,100,152).

RGB: (90,100,152) (35%, 39%, 60%)

RGB channels and saturation

R 90 of 255 = 35%
G 100 of 255 = 39%
B 152 of 255 = 60%

90
100
152

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

Portions of RGB colors in percentages

R + G + B = 90 + 100 + 152 = 342 (100%)
R 90 of 342 ~ 26.32%
G 100 of 342 ~ 29.24%
B 152 of 342 ~ 44.44'%

%26.32
%29.24
%44.44

CMYK color model

#5A6498 color CMYK value is (41,34,0,40).

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

CMYK: (41,34,0,40)
C41M34Y0K40 (41%, 34%, 0%, 40%)
(0.41 / 0.34 / 0.00 / 0.40)

CMYK percentages

%40.79
%34.21
%0
%40.39

Codes

Color #5A6498 in popluar color models

5A 64 98
RGB 90 100 152
HSL 230° 25.62% 47.45%
HSB/HSV 230° 40.79% 59.61%
CMYK 40.79% 34.21% 0.00%
40.39%

Color #5A6498 in popluar number systems.

HEX 5A 64 98
Decimal 90 100 152
Binary 1011010 1100100 10011000
Octal 132 144 230

Shades and tints

Shades of #5A6498

#5A6498
(90,100,152)
#525B8B
(82,91,139)
#4A527E
(74,82,126)
#424971
(66,73,113)
#3A4064
(58,64,100)
#323757
(50,55,87)
#2A2E4A
(42,46,74)
#22253D
(34,37,61)
#1A1C30
(26,28,48)
#121323
(18,19,35)
#0A0A16
(10,10,22)
#000000
(0,0,0)

Tints of #5A6498

#5A6498
(90,100,152)
#6972A1
(105,114,161)
#7880AA
(120,128,170)
#878EB3
(135,142,179)
#969CBC
(150,156,188)
#A5AAC5
(165,170,197)
#B4B8CE
(180,184,206)
#C3C6D7
(195,198,215)
#D2D4E0
(210,212,224)
#E1E2E9
(225,226,233)
#F0F0F2
(240,240,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6498; }

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

This text font color is #5A6498.

Background Color

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

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

This div background color is #5A6498.

Border color

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

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

This div border color is #5A6498.

Opacity

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

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

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

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

This text has shadow with #5A6498 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6498.

Preview

Color preview on black background

This text has color #5A6498 on black background.


Color preview on white background

This text has color #5A6498 on white background.


Black color preview on #5A6498 background

This text has black color on #5A6498 background.


White color preview on #5A6498 background

This text has white color on #5A6498 background.


Related colors

Complementary color

Complementary color for #hex is #A59B67.


I love getcolorcode.com

Triadic colors

1 #985A64 and #64985A with #5A6498 are triadic colors.

2 #98645A and #645A98 with #5A6498 are triadic colors.