COLOR #5A3D70

HEX: #5A3D70
RGB: (90,61,112)

Color info

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

RGB color model

#5A3D70 color RGB value is (90,61,112).

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

RGB channels and saturation

R 90 of 255 = 35%
G 61 of 255 = 24%
B 112 of 255 = 44%

90
61
112

R + G + B ~ 34%. #5A3D70 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 61 + 112 = 263 (100%)
R 90 of 263 ~ 34.22%
G 61 of 263 ~ 23.19%
B 112 of 263 ~ 42.59%

%34.22
%23.19
%42.59

CMYK color model

#5A3D70 color CMYK value is (20,46,0,56).

  • cyan value is 19.64%
  • magenta value is 45.54%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(20,46,0,56)
C20M46Y0K56 
(20%,46%,0%,56%)
(0.20/0.46/0.00/0.56)	

CMYK percentages

%19.64
%45.54
%0
%56.08

Codes

Color #5A3D70 in popluar color models

5A3D70
RGB9061112
HSL274°29.48%33.92%
HSB/HSV274°45.54%43.92%
CMYK19.64%45.54%0.00%
56.08%

Color #5A3D70 in popluar number systems.

HEX5A3D70
Decimal9061112
Binary10110101111011110000
Octal13275160

Shades and tints

Shades of #5A3D70

#5A3D70
(90,61,112)
#523866
(82,56,102)
#4A335C
(74,51,92)
#422E52
(66,46,82)
#3A2948
(58,41,72)
#32243E
(50,36,62)
#2A1F34
(42,31,52)
#221A2A
(34,26,42)
#1A1520
(26,21,32)
#121016
(18,16,22)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #5A3D70

#5A3D70
(90,61,112)
#694E7D
(105,78,125)
#785F8A
(120,95,138)
#877097
(135,112,151)
#9681A4
(150,129,164)
#A592B1
(165,146,177)
#B4A3BE
(180,163,190)
#C3B4CB
(195,180,203)
#D2C5D8
(210,197,216)
#E1D6E5
(225,214,229)
#F0E7F2
(240,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A3D70; }

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

This text font color is #5A3D70.


Background Color

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

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

This div background color is #5A3D70.


Border color

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

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

This div border color is #5A3D70.


Opacity

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

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

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

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

This text has shadow with #5A3D70 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3D70 on black background.


Color preview on white background

This text has color #5A3D70 on white background.



Black color preview on #5A3D70 background

This text has black color on #5A3D70 background.


White color preview on #5A3D70 background

This text has white color on #5A3D70 background.