COLOR #5A2257

HEX: #5A2257
RGB: (90,34,87)

Color info

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

RGB color model

#5A2257 color RGB value is (90,34,87).

  • red value is 90;
  • green value is 34;
  • blue value is 87.
RGB:
(90,34,87)
(35%,13%,34%)

RGB channels and saturation

R 90 of 255 = 35%
G 34 of 255 = 13%
B 87 of 255 = 34%

90
34
87

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

Portions of RGB colors in percentages

R + G + B =
90 + 34 + 87 = 211 (100%)
R 90 of 211 ~ 42.65%
G 34 of 211 ~ 16.11%
B 87 of 211 ~ 41.23%

%42.65
%16.11
%41.23

CMYK color model

#5A2257 color CMYK value is (0,62,3,65).

  • cyan value is 0.00%
  • magenta value is 62.22%
  • yellow value is 3.33%
  • key color value is 64.71%
CMYK:
(0,62,3,65)
C0M62Y3K65 
(0%,62%,3%,65%)
(0.00/0.62/0.03/0.65)	

CMYK percentages

%0
%62.22
%3.33
%64.71

Codes

Color #5A2257 in popluar color models

5A2257
RGB903487
HSL303°45.16%24.31%
HSB/HSV303°62.22%35.29%
CMYK0.00%62.22%3.33%
64.71%

Color #5A2257 in popluar number systems.

HEX5A2257
Decimal903487
Binary10110101000101010111
Octal13242127

Shades and tints

Shades of #5A2257

#5A2257
(90,34,87)
#521F50
(82,31,80)
#4A1C49
(74,28,73)
#421942
(66,25,66)
#3A163B
(58,22,59)
#321334
(50,19,52)
#2A102D
(42,16,45)
#220D26
(34,13,38)
#1A0A1F
(26,10,31)
#120718
(18,7,24)
#0A0411
(10,4,17)
#000000
(0,0,0)

Tints of #5A2257

#5A2257
(90,34,87)
#693666
(105,54,102)
#784A75
(120,74,117)
#875E84
(135,94,132)
#967293
(150,114,147)
#A586A2
(165,134,162)
#B49AB1
(180,154,177)
#C3AEC0
(195,174,192)
#D2C2CF
(210,194,207)
#E1D6DE
(225,214,222)
#F0EAED
(240,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A2257; }

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

This text font color is #5A2257.


Background Color

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

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

This div background color is #5A2257.


Border color

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

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

This div border color is #5A2257.


Opacity

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

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

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

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

This text has shadow with #5A2257 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A2257 on black background.


Color preview on white background

This text has color #5A2257 on white background.



Black color preview on #5A2257 background

This text has black color on #5A2257 background.


White color preview on #5A2257 background

This text has white color on #5A2257 background.