COLOR #5A4F6E

HEX: #5A4F6E
RGB: (90,79,110)

Color info

#5A4F6E contains red, green and blue colors in about the same proportion. Web safe color of #5A4F6E is #666666 (or #666).

RGB color model

#5A4F6E color RGB value is (90,79,110).

  • red value is 90;
  • green value is 79;
  • blue value is 110.
RGB:
(90,79,110)
(35%,31%,43%)

RGB channels and saturation

R 90 of 255 = 35%
G 79 of 255 = 31%
B 110 of 255 = 43%

90
79
110

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

Portions of RGB colors in percentages

R + G + B =
90 + 79 + 110 = 279 (100%)
R 90 of 279 ~ 32.26%
G 79 of 279 ~ 28.32%
B 110 of 279 ~ 39.43%

%32.26
%28.32
%39.43

CMYK color model

#5A4F6E color CMYK value is (18,28,0,57).

  • cyan value is 18.18%
  • magenta value is 28.18%
  • yellow value is 0.00%
  • key color value is 56.86%
CMYK:
(18,28,0,57)
C18M28Y0K57 
(18%,28%,0%,57%)
(0.18/0.28/0.00/0.57)	

CMYK percentages

%18.18
%28.18
%0
%56.86

Codes

Color #5A4F6E in popluar color models

5A4F6E
RGB9079110
HSL261°16.40%37.06%
HSB/HSV261°28.18%43.14%
CMYK18.18%28.18%0.00%
56.86%

Color #5A4F6E in popluar number systems.

HEX5A4F6E
Decimal9079110
Binary101101010011111101110
Octal132117156

Shades and tints

Shades of #5A4F6E

#5A4F6E
(90,79,110)
#524864
(82,72,100)
#4A415A
(74,65,90)
#423A50
(66,58,80)
#3A3346
(58,51,70)
#322C3C
(50,44,60)
#2A2532
(42,37,50)
#221E28
(34,30,40)
#1A171E
(26,23,30)
#121014
(18,16,20)
#0A090A
(10,9,10)
#000000
(0,0,0)

Tints of #5A4F6E

#5A4F6E
(90,79,110)
#695F7B
(105,95,123)
#786F88
(120,111,136)
#877F95
(135,127,149)
#968FA2
(150,143,162)
#A59FAF
(165,159,175)
#B4AFBC
(180,175,188)
#C3BFC9
(195,191,201)
#D2CFD6
(210,207,214)
#E1DFE3
(225,223,227)
#F0EFF0
(240,239,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4F6E color. Also use rgb(90,79,110) instead hex code.

Text Font Color

.myTextColor { color: #5A4F6E; }

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

This text font color is #5A4F6E.


Background Color

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

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

This div background color is #5A4F6E.


Border color

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

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

This div border color is #5A4F6E.


Opacity

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

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

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

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

This text has shadow with #5A4F6E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4F6E on black background.


Color preview on white background

This text has color #5A4F6E on white background.



Black color preview on #5A4F6E background

This text has black color on #5A4F6E background.


White color preview on #5A4F6E background

This text has white color on #5A4F6E background.