COLOR #5A3C5A

HEX: #5A3C5A
RGB: (90,60,90)

Color info

#5A3C5A contains red, green and blue colors in about the same proportion. Web safe color of #5A3C5A is #663366 (or #636).

RGB color model

#5A3C5A color RGB value is (90,60,90).

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

RGB channels and saturation

R 90 of 255 = 35%
G 60 of 255 = 24%
B 90 of 255 = 35%

90
60
90

R + G + B ~ 31%. #5A3C5A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 60 + 90 = 240 (100%)
R 90 of 240 ~ 37.5%
G 60 of 240 ~ 25%
B 90 of 240 ~ 37.5%

%37.5
%25
%37.5

CMYK color model

#5A3C5A color CMYK value is (0,33,0,65).

  • cyan value is 0.00%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(0,33,0,65)
C0M33Y0K65 
(0%,33%,0%,65%)
(0.00/0.33/0.00/0.65)	

CMYK percentages

%0
%33.33
%0
%64.71

Codes

Color #5A3C5A in popluar color models

5A3C5A
RGB906090
HSL300°20.00%29.41%
HSB/HSV300°33.33%35.29%
CMYK0.00%33.33%0.00%
64.71%

Color #5A3C5A in popluar number systems.

HEX5A3C5A
Decimal906090
Binary10110101111001011010
Octal13274132

Shades and tints

Shades of #5A3C5A

#5A3C5A
(90,60,90)
#523752
(82,55,82)
#4A324A
(74,50,74)
#422D42
(66,45,66)
#3A283A
(58,40,58)
#322332
(50,35,50)
#2A1E2A
(42,30,42)
#221922
(34,25,34)
#1A141A
(26,20,26)
#120F12
(18,15,18)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #5A3C5A

#5A3C5A
(90,60,90)
#694D69
(105,77,105)
#785E78
(120,94,120)
#876F87
(135,111,135)
#968096
(150,128,150)
#A591A5
(165,145,165)
#B4A2B4
(180,162,180)
#C3B3C3
(195,179,195)
#D2C4D2
(210,196,210)
#E1D5E1
(225,213,225)
#F0E6F0
(240,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A3C5A; }

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

This text font color is #5A3C5A.


Background Color

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

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

This div background color is #5A3C5A.


Border color

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

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

This div border color is #5A3C5A.


Opacity

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

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

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

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

This text has shadow with #5A3C5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3C5A on black background.


Color preview on white background

This text has color #5A3C5A on white background.



Black color preview on #5A3C5A background

This text has black color on #5A3C5A background.


White color preview on #5A3C5A background

This text has white color on #5A3C5A background.