COLOR #5A3A5A

HEX: #5A3A5A
RGB: (90,58,90)

Color info

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

RGB color model

#5A3A5A color RGB value is (90,58,90).

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

RGB channels and saturation

R 90 of 255 = 35%
G 58 of 255 = 23%
B 90 of 255 = 35%

90
58
90

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

Portions of RGB colors in percentages

R + G + B =
90 + 58 + 90 = 238 (100%)
R 90 of 238 ~ 37.82%
G 58 of 238 ~ 24.37%
B 90 of 238 ~ 37.82%

%37.82
%24.37
%37.82

CMYK color model

#5A3A5A color CMYK value is (0,36,0,65).

  • cyan value is 0.00%
  • magenta value is 35.56%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(0,36,0,65)
C0M36Y0K65 
(0%,36%,0%,65%)
(0.00/0.36/0.00/0.65)	

CMYK percentages

%0
%35.56
%0
%64.71

Codes

Color #5A3A5A in popluar color models

5A3A5A
RGB905890
HSL300°21.62%29.02%
HSB/HSV300°35.56%35.29%
CMYK0.00%35.56%0.00%
64.71%

Color #5A3A5A in popluar number systems.

HEX5A3A5A
Decimal905890
Binary10110101110101011010
Octal13272132

Shades and tints

Shades of #5A3A5A

#5A3A5A
(90,58,90)
#523552
(82,53,82)
#4A304A
(74,48,74)
#422B42
(66,43,66)
#3A263A
(58,38,58)
#322132
(50,33,50)
#2A1C2A
(42,28,42)
#221722
(34,23,34)
#1A121A
(26,18,26)
#120D12
(18,13,18)
#0A080A
(10,8,10)
#000000
(0,0,0)

Tints of #5A3A5A

#5A3A5A
(90,58,90)
#694B69
(105,75,105)
#785C78
(120,92,120)
#876D87
(135,109,135)
#967E96
(150,126,150)
#A58FA5
(165,143,165)
#B4A0B4
(180,160,180)
#C3B1C3
(195,177,195)
#D2C2D2
(210,194,210)
#E1D3E1
(225,211,225)
#F0E4F0
(240,228,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A3A5A; }

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

This text font color is #5A3A5A.


Background Color

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

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

This div background color is #5A3A5A.


Border color

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

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

This div border color is #5A3A5A.


Opacity

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

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

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

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

This text has shadow with #5A3A5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3A5A on black background.


Color preview on white background

This text has color #5A3A5A on white background.



Black color preview on #5A3A5A background

This text has black color on #5A3A5A background.


White color preview on #5A3A5A background

This text has white color on #5A3A5A background.