COLOR #5A1189

HEX: #5A1189
RGB: (90,17,137)

Color info

#5A1189 contains mainly red and blue colors. Web safe color of #5A1189 is #660099 (or #609).

RGB color model

#5A1189 color RGB value is (90,17,137).

  • red value is 90;
  • green value is 17;
  • blue value is 137.
RGB:
(90,17,137)
(35%,7%,54%)

RGB channels and saturation

R 90 of 255 = 35%
G 17 of 255 = 7%
B 137 of 255 = 54%

90
17
137

R + G + B ~ 32%. #5A1189 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 17 + 137 = 244 (100%)
R 90 of 244 ~ 36.89%
G 17 of 244 ~ 6.97%
B 137 of 244 ~ 56.15%

%36.89
%56.15

CMYK color model

#5A1189 color CMYK value is (34,88,0,46).

  • cyan value is 34.31%
  • magenta value is 87.59%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK:
(34,88,0,46)
C34M88Y0K46 
(34%,88%,0%,46%)
(0.34/0.88/0.00/0.46)	

CMYK percentages

%34.31
%87.59
%0
%46.27

Codes

Color #5A1189 in popluar color models

5A1189
RGB9017137
HSL277°77.92%30.20%
HSB/HSV277°87.59%53.73%
CMYK34.31%87.59%0.00%
46.27%

Color #5A1189 in popluar number systems.

HEX5A1189
Decimal9017137
Binary10110101000110001001
Octal13221211

Shades and tints

Shades of #5A1189

#5A1189
(90,17,137)
#52107D
(82,16,125)
#4A0F71
(74,15,113)
#420E65
(66,14,101)
#3A0D59
(58,13,89)
#320C4D
(50,12,77)
#2A0B41
(42,11,65)
#220A35
(34,10,53)
#1A0929
(26,9,41)
#12081D
(18,8,29)
#0A0711
(10,7,17)
#000000
(0,0,0)

Tints of #5A1189

#5A1189
(90,17,137)
#692693
(105,38,147)
#783B9D
(120,59,157)
#8750A7
(135,80,167)
#9665B1
(150,101,177)
#A57ABB
(165,122,187)
#B48FC5
(180,143,197)
#C3A4CF
(195,164,207)
#D2B9D9
(210,185,217)
#E1CEE3
(225,206,227)
#F0E3ED
(240,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A1189 color. Also use rgb(90,17,137) instead hex code.

Text Font Color

.myTextColor { color: #5A1189; }

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

This text font color is #5A1189.


Background Color

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

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

This div background color is #5A1189.


Border color

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

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

This div border color is #5A1189.


Opacity

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

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

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

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

This text has shadow with #5A1189 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A1189 on black background.


Color preview on white background

This text has color #5A1189 on white background.



Black color preview on #5A1189 background

This text has black color on #5A1189 background.


White color preview on #5A1189 background

This text has white color on #5A1189 background.