COLOR #5A337C

HEX: #5A337C RGB: (90,51,124)

Color info

#5A337C contains mainly red and blue colors. Web safe color of #5A337C is #663366 (or #636).

RGB color model

#5A337C color RGB value is (90,51,124).

RGB: (90,51,124) (35%, 20%, 49%)

RGB channels and saturation

R 90 of 255 = 35%
G 51 of 255 = 20%
B 124 of 255 = 49%

90
51
124

R + G + B ~ 35%. #5A337C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 51 + 124 = 265 (100%)
R 90 of 265 ~ 33.96%
G 51 of 265 ~ 19.25%
B 124 of 265 ~ 46.79'%

%33.96
%19.25
%46.79

CMYK color model

#5A337C color CMYK value is (27,59,0,51).

  • cyan value is 27.42%
  • magenta value is 58.87%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK: (27,59,0,51) C27M59Y0K51 (27%,59%,0%,51%) (0.27/0.59/0.00/0.51) 

CMYK percentages

%27.42
%58.87
%0
%51.37

Codes

Color #5A337C in popluar color models

5A 33 7C
RGB 90 51 124
HSL 272° 41.71% 34.31%
HSB/HSV 272° 58.87% 48.63%
CMYK 27.42% 58.87% 0.00%
51.37%

Color #5A337C in popluar number systems.

HEX 5A 33 7C
Decimal 90 51 124
Binary 1011010 110011 1111100
Octal 132 63 174

Shades and tints

Shades of #5A337C

#5A337C
(90,51,124)
#522F71
(82,47,113)
#4A2B66
(74,43,102)
#42275B
(66,39,91)
#3A2350
(58,35,80)
#321F45
(50,31,69)
#2A1B3A
(42,27,58)
#22172F
(34,23,47)
#1A1324
(26,19,36)
#120F19
(18,15,25)
#0A0B0E
(10,11,14)
#000000
(0,0,0)

Tints of #5A337C

#5A337C
(90,51,124)
#694587
(105,69,135)
#785792
(120,87,146)
#87699D
(135,105,157)
#967BA8
(150,123,168)
#A58DB3
(165,141,179)
#B49FBE
(180,159,190)
#C3B1C9
(195,177,201)
#D2C3D4
(210,195,212)
#E1D5DF
(225,213,223)
#F0E7EA
(240,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A337C color. Also use rgb(90,51,124) instead hex code.

Text Font Color

.myTextColor { color: #5A337C; }

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

This text font color is #5A337C.

Background Color

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

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

This div background color is #5A337C.

Border color

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

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

This div border color is #5A337C.

Opacity

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

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

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

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

This text has shadow with #5A337C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A337C.

Preview

Color preview on black background

This text has color #5A337C on black background.


Color preview on white background

This text has color #5A337C on white background.


Black color preview on #5A337C background

This text has black color on #5A337C background.


White color preview on #5A337C background

This text has white color on #5A337C background.


Related colors

Complementary color

Complementary color for #hex is #A5CC83.


I love getcolorcode.com

Triadic colors

1 #7C5A33 and #337C5A with #5A337C are triadic colors.

2 #7C335A and #335A7C with #5A337C are triadic colors.