COLOR #5A2B7D

HEX: #5A2B7D
RGB: (90,43,125)

Color info

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

RGB color model

#5A2B7D color RGB value is (90,43,125).

  • red value is 90;
  • green value is 43;
  • blue value is 125.
RGB:
(90,43,125)
(35%,17%,49%)

RGB channels and saturation

R 90 of 255 = 35%
G 43 of 255 = 17%
B 125 of 255 = 49%

90
43
125

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

Portions of RGB colors in percentages

R + G + B =
90 + 43 + 125 = 258 (100%)
R 90 of 258 ~ 34.88%
G 43 of 258 ~ 16.67%
B 125 of 258 ~ 48.45%

%34.88
%16.67
%48.45

CMYK color model

#5A2B7D color CMYK value is (28,66,0,51).

  • cyan value is 28.00%
  • magenta value is 65.60%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(28,66,0,51)
C28M66Y0K51 
(28%,66%,0%,51%)
(0.28/0.66/0.00/0.51)	

CMYK percentages

%28
%65.6
%0
%50.98

Codes

Color #5A2B7D in popluar color models

5A2B7D
RGB9043125
HSL274°48.81%32.94%
HSB/HSV274°65.60%49.02%
CMYK28.00%65.60%0.00%
50.98%

Color #5A2B7D in popluar number systems.

HEX5A2B7D
Decimal9043125
Binary10110101010111111101
Octal13253175

Shades and tints

Shades of #5A2B7D

#5A2B7D
(90,43,125)
#522872
(82,40,114)
#4A2567
(74,37,103)
#42225C
(66,34,92)
#3A1F51
(58,31,81)
#321C46
(50,28,70)
#2A193B
(42,25,59)
#221630
(34,22,48)
#1A1325
(26,19,37)
#12101A
(18,16,26)
#0A0D0F
(10,13,15)
#000000
(0,0,0)

Tints of #5A2B7D

#5A2B7D
(90,43,125)
#693E88
(105,62,136)
#785193
(120,81,147)
#87649E
(135,100,158)
#9677A9
(150,119,169)
#A58AB4
(165,138,180)
#B49DBF
(180,157,191)
#C3B0CA
(195,176,202)
#D2C3D5
(210,195,213)
#E1D6E0
(225,214,224)
#F0E9EB
(240,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A2B7D; }

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

This text font color is #5A2B7D.


Background Color

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

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

This div background color is #5A2B7D.


Border color

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

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

This div border color is #5A2B7D.


Opacity

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

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

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

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

This text has shadow with #5A2B7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A2B7D on black background.


Color preview on white background

This text has color #5A2B7D on white background.



Black color preview on #5A2B7D background

This text has black color on #5A2B7D background.


White color preview on #5A2B7D background

This text has white color on #5A2B7D background.