COLOR #5A1D5B

HEX: #5A1D5B
RGB: (90,29,91)

Color info

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

RGB color model

#5A1D5B color RGB value is (90,29,91).

  • red value is 90;
  • green value is 29;
  • blue value is 91.
RGB:
(90,29,91)
(35%,11%,36%)

RGB channels and saturation

R 90 of 255 = 35%
G 29 of 255 = 11%
B 91 of 255 = 36%

90
29
91

R + G + B ~ 27%. #5A1D5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 29 + 91 = 210 (100%)
R 90 of 210 ~ 42.86%
G 29 of 210 ~ 13.81%
B 91 of 210 ~ 43.33%

%42.86
%13.81
%43.33

CMYK color model

#5A1D5B color CMYK value is (1,68,0,64).

  • cyan value is 1.10%
  • magenta value is 68.13%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(1,68,0,64)
C1M68Y0K64 
(1%,68%,0%,64%)
(0.01/0.68/0.00/0.64)	

CMYK percentages

%1.1
%68.13
%0
%64.31

Codes

Color #5A1D5B in popluar color models

5A1D5B
RGB902991
HSL299°51.67%23.53%
HSB/HSV299°68.13%35.69%
CMYK1.10%68.13%0.00%
64.31%

Color #5A1D5B in popluar number systems.

HEX5A1D5B
Decimal902991
Binary1011010111011011011
Octal13235133

Shades and tints

Shades of #5A1D5B

#5A1D5B
(90,29,91)
#521B53
(82,27,83)
#4A194B
(74,25,75)
#421743
(66,23,67)
#3A153B
(58,21,59)
#321333
(50,19,51)
#2A112B
(42,17,43)
#220F23
(34,15,35)
#1A0D1B
(26,13,27)
#120B13
(18,11,19)
#0A090B
(10,9,11)
#000000
(0,0,0)

Tints of #5A1D5B

#5A1D5B
(90,29,91)
#693169
(105,49,105)
#784577
(120,69,119)
#875985
(135,89,133)
#966D93
(150,109,147)
#A581A1
(165,129,161)
#B495AF
(180,149,175)
#C3A9BD
(195,169,189)
#D2BDCB
(210,189,203)
#E1D1D9
(225,209,217)
#F0E5E7
(240,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A1D5B; }

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

This text font color is #5A1D5B.


Background Color

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

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

This div background color is #5A1D5B.


Border color

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

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

This div border color is #5A1D5B.


Opacity

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

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

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

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

This text has shadow with #5A1D5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A1D5B on black background.


Color preview on white background

This text has color #5A1D5B on white background.



Black color preview on #5A1D5B background

This text has black color on #5A1D5B background.


White color preview on #5A1D5B background

This text has white color on #5A1D5B background.