COLOR #5A476F

HEX: #5A476F
RGB: (90,71,111)

Color info

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

RGB color model

#5A476F color RGB value is (90,71,111).

  • red value is 90;
  • green value is 71;
  • blue value is 111.
RGB:
(90,71,111)
(35%,28%,44%)

RGB channels and saturation

R 90 of 255 = 35%
G 71 of 255 = 28%
B 111 of 255 = 44%

90
71
111

R + G + B ~ 36%. #5A476F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 71 + 111 = 272 (100%)
R 90 of 272 ~ 33.09%
G 71 of 272 ~ 26.1%
B 111 of 272 ~ 40.81%

%33.09
%26.1
%40.81

CMYK color model

#5A476F color CMYK value is (19,36,0,56).

  • cyan value is 18.92%
  • magenta value is 36.04%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(19,36,0,56)
C19M36Y0K56 
(19%,36%,0%,56%)
(0.19/0.36/0.00/0.56)	

CMYK percentages

%18.92
%36.04
%0
%56.47

Codes

Color #5A476F in popluar color models

5A476F
RGB9071111
HSL269°21.98%35.69%
HSB/HSV269°36.04%43.53%
CMYK18.92%36.04%0.00%
56.47%

Color #5A476F in popluar number systems.

HEX5A476F
Decimal9071111
Binary101101010001111101111
Octal132107157

Shades and tints

Shades of #5A476F

#5A476F
(90,71,111)
#524165
(82,65,101)
#4A3B5B
(74,59,91)
#423551
(66,53,81)
#3A2F47
(58,47,71)
#32293D
(50,41,61)
#2A2333
(42,35,51)
#221D29
(34,29,41)
#1A171F
(26,23,31)
#121115
(18,17,21)
#0A0B0B
(10,11,11)
#000000
(0,0,0)

Tints of #5A476F

#5A476F
(90,71,111)
#69577C
(105,87,124)
#786789
(120,103,137)
#877796
(135,119,150)
#9687A3
(150,135,163)
#A597B0
(165,151,176)
#B4A7BD
(180,167,189)
#C3B7CA
(195,183,202)
#D2C7D7
(210,199,215)
#E1D7E4
(225,215,228)
#F0E7F1
(240,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A476F; }

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

This text font color is #5A476F.


Background Color

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

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

This div background color is #5A476F.


Border color

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

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

This div border color is #5A476F.


Opacity

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

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

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

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

This text has shadow with #5A476F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A476F on black background.


Color preview on white background

This text has color #5A476F on white background.



Black color preview on #5A476F background

This text has black color on #5A476F background.


White color preview on #5A476F background

This text has white color on #5A476F background.