COLOR #5A56C2

HEX: #5A56C2
RGB: (90,86,194)

Color info

#5A56C2 contains mainly blue color. Web safe color of #5A56C2 is #6666CC (or #66C).

RGB color model

#5A56C2 color RGB value is (90,86,194).

  • red value is 90;
  • green value is 86;
  • blue value is 194.
RGB:
(90,86,194)
(35%,34%,76%)

RGB channels and saturation

R 90 of 255 = 35%
G 86 of 255 = 34%
B 194 of 255 = 76%

90
86
194

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

Portions of RGB colors in percentages

R + G + B =
90 + 86 + 194 = 370 (100%)
R 90 of 370 ~ 24.32%
G 86 of 370 ~ 23.24%
B 194 of 370 ~ 52.43%

%24.32
%23.24
%52.43

CMYK color model

#5A56C2 color CMYK value is (54,56,0,24).

  • cyan value is 53.61%
  • magenta value is 55.67%
  • yellow value is 0.00%
  • key color value is 23.92%
CMYK:
(54,56,0,24)
C54M56Y0K24 
(54%,56%,0%,24%)
(0.54/0.56/0.00/0.24)	

CMYK percentages

%53.61
%55.67
%0
%23.92

Codes

Color #5A56C2 in popluar color models

5A56C2
RGB9086194
HSL242°46.96%54.90%
HSB/HSV242°55.67%76.08%
CMYK53.61%55.67%0.00%
23.92%

Color #5A56C2 in popluar number systems.

HEX5A56C2
Decimal9086194
Binary1011010101011011000010
Octal132126302

Shades and tints

Shades of #5A56C2

#5A56C2
(90,86,194)
#524FB1
(82,79,177)
#4A48A0
(74,72,160)
#42418F
(66,65,143)
#3A3A7E
(58,58,126)
#32336D
(50,51,109)
#2A2C5C
(42,44,92)
#22254B
(34,37,75)
#1A1E3A
(26,30,58)
#121729
(18,23,41)
#0A1018
(10,16,24)
#000000
(0,0,0)

Tints of #5A56C2

#5A56C2
(90,86,194)
#6965C7
(105,101,199)
#7874CC
(120,116,204)
#8783D1
(135,131,209)
#9692D6
(150,146,214)
#A5A1DB
(165,161,219)
#B4B0E0
(180,176,224)
#C3BFE5
(195,191,229)
#D2CEEA
(210,206,234)
#E1DDEF
(225,221,239)
#F0ECF4
(240,236,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A56C2 color. Also use rgb(90,86,194) instead hex code.

Text Font Color

.myTextColor { color: #5A56C2; }

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

This text font color is #5A56C2.


Background Color

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

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

This div background color is #5A56C2.


Border color

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

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

This div border color is #5A56C2.


Opacity

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

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

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

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

This text has shadow with #5A56C2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A56C2 on black background.


Color preview on white background

This text has color #5A56C2 on white background.



Black color preview on #5A56C2 background

This text has black color on #5A56C2 background.


White color preview on #5A56C2 background

This text has white color on #5A56C2 background.