COLOR #5A6398

HEX: #5A6398
RGB: (90,99,152)

Color info

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

RGB color model

#5A6398 color RGB value is (90,99,152).

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

RGB channels and saturation

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

90
99
152

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

Portions of RGB colors in percentages

R + G + B =
90 + 99 + 152 = 341 (100%)
R 90 of 341 ~ 26.39%
G 99 of 341 ~ 29.03%
B 152 of 341 ~ 44.57%

%26.39
%29.03
%44.57

CMYK color model

#5A6398 color CMYK value is (41,35,0,40).

  • cyan value is 40.79%
  • magenta value is 34.87%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(41,35,0,40)
C41M35Y0K40 
(41%,35%,0%,40%)
(0.41/0.35/0.00/0.40)	

CMYK percentages

%40.79
%34.87
%0
%40.39

Codes

Color #5A6398 in popluar color models

5A6398
RGB9099152
HSL231°25.62%47.45%
HSB/HSV231°40.79%59.61%
CMYK40.79%34.87%0.00%
40.39%

Color #5A6398 in popluar number systems.

HEX5A6398
Decimal9099152
Binary1011010110001110011000
Octal132143230

Shades and tints

Shades of #5A6398

#5A6398
(90,99,152)
#525A8B
(82,90,139)
#4A517E
(74,81,126)
#424871
(66,72,113)
#3A3F64
(58,63,100)
#323657
(50,54,87)
#2A2D4A
(42,45,74)
#22243D
(34,36,61)
#1A1B30
(26,27,48)
#121223
(18,18,35)
#0A0916
(10,9,22)
#000000
(0,0,0)

Tints of #5A6398

#5A6398
(90,99,152)
#6971A1
(105,113,161)
#787FAA
(120,127,170)
#878DB3
(135,141,179)
#969BBC
(150,155,188)
#A5A9C5
(165,169,197)
#B4B7CE
(180,183,206)
#C3C5D7
(195,197,215)
#D2D3E0
(210,211,224)
#E1E1E9
(225,225,233)
#F0EFF2
(240,239,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6398; }

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

This text font color is #5A6398.


Background Color

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

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

This div background color is #5A6398.


Border color

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

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

This div border color is #5A6398.


Opacity

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

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

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

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

This text has shadow with #5A6398 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6398 on black background.


Color preview on white background

This text has color #5A6398 on white background.



Black color preview on #5A6398 background

This text has black color on #5A6398 background.


White color preview on #5A6398 background

This text has white color on #5A6398 background.