COLOR #5A285A

HEX: #5A285A
RGB: (90,40,90)

Color info

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

RGB color model

#5A285A color RGB value is (90,40,90).

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

RGB channels and saturation

R 90 of 255 = 35%
G 40 of 255 = 16%
B 90 of 255 = 35%

90
40
90

R + G + B ~ 29%. #5A285A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 40 + 90 = 220 (100%)
R 90 of 220 ~ 40.91%
G 40 of 220 ~ 18.18%
B 90 of 220 ~ 40.91%

%40.91
%18.18
%40.91

CMYK color model

#5A285A color CMYK value is (0,56,0,65).

  • cyan value is 0.00%
  • magenta value is 55.56%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(0,56,0,65)
C0M56Y0K65 
(0%,56%,0%,65%)
(0.00/0.56/0.00/0.65)	

CMYK percentages

%0
%55.56
%0
%64.71

Codes

Color #5A285A in popluar color models

5A285A
RGB904090
HSL300°38.46%25.49%
HSB/HSV300°55.56%35.29%
CMYK0.00%55.56%0.00%
64.71%

Color #5A285A in popluar number systems.

HEX5A285A
Decimal904090
Binary10110101010001011010
Octal13250132

Shades and tints

Shades of #5A285A

#5A285A
(90,40,90)
#522552
(82,37,82)
#4A224A
(74,34,74)
#421F42
(66,31,66)
#3A1C3A
(58,28,58)
#321932
(50,25,50)
#2A162A
(42,22,42)
#221322
(34,19,34)
#1A101A
(26,16,26)
#120D12
(18,13,18)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #5A285A

#5A285A
(90,40,90)
#693B69
(105,59,105)
#784E78
(120,78,120)
#876187
(135,97,135)
#967496
(150,116,150)
#A587A5
(165,135,165)
#B49AB4
(180,154,180)
#C3ADC3
(195,173,195)
#D2C0D2
(210,192,210)
#E1D3E1
(225,211,225)
#F0E6F0
(240,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A285A; }

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

This text font color is #5A285A.


Background Color

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

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

This div background color is #5A285A.


Border color

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

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

This div border color is #5A285A.


Opacity

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

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

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

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

This text has shadow with #5A285A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A285A on black background.


Color preview on white background

This text has color #5A285A on white background.



Black color preview on #5A285A background

This text has black color on #5A285A background.


White color preview on #5A285A background

This text has white color on #5A285A background.