COLOR #5A4F75

HEX: #5A4F75
RGB: (90,79,117)

Color info

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

RGB color model

#5A4F75 color RGB value is (90,79,117).

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

RGB channels and saturation

R 90 of 255 = 35%
G 79 of 255 = 31%
B 117 of 255 = 46%

90
79
117

R + G + B ~ 37%. #5A4F75 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 79 + 117 = 286 (100%)
R 90 of 286 ~ 31.47%
G 79 of 286 ~ 27.62%
B 117 of 286 ~ 40.91%

%31.47
%27.62
%40.91

CMYK color model

#5A4F75 color CMYK value is (23,32,0,54).

  • cyan value is 23.08%
  • magenta value is 32.48%
  • yellow value is 0.00%
  • key color value is 54.12%
CMYK:
(23,32,0,54)
C23M32Y0K54 
(23%,32%,0%,54%)
(0.23/0.32/0.00/0.54)	

CMYK percentages

%23.08
%32.48
%0
%54.12

Codes

Color #5A4F75 in popluar color models

5A4F75
RGB9079117
HSL257°19.39%38.43%
HSB/HSV257°32.48%45.88%
CMYK23.08%32.48%0.00%
54.12%

Color #5A4F75 in popluar number systems.

HEX5A4F75
Decimal9079117
Binary101101010011111110101
Octal132117165

Shades and tints

Shades of #5A4F75

#5A4F75
(90,79,117)
#52486B
(82,72,107)
#4A4161
(74,65,97)
#423A57
(66,58,87)
#3A334D
(58,51,77)
#322C43
(50,44,67)
#2A2539
(42,37,57)
#221E2F
(34,30,47)
#1A1725
(26,23,37)
#12101B
(18,16,27)
#0A0911
(10,9,17)
#000000
(0,0,0)

Tints of #5A4F75

#5A4F75
(90,79,117)
#695F81
(105,95,129)
#786F8D
(120,111,141)
#877F99
(135,127,153)
#968FA5
(150,143,165)
#A59FB1
(165,159,177)
#B4AFBD
(180,175,189)
#C3BFC9
(195,191,201)
#D2CFD5
(210,207,213)
#E1DFE1
(225,223,225)
#F0EFED
(240,239,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A4F75; }

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

This text font color is #5A4F75.


Background Color

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

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

This div background color is #5A4F75.


Border color

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

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

This div border color is #5A4F75.


Opacity

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

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

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

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

This text has shadow with #5A4F75 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4F75 on black background.


Color preview on white background

This text has color #5A4F75 on white background.



Black color preview on #5A4F75 background

This text has black color on #5A4F75 background.


White color preview on #5A4F75 background

This text has white color on #5A4F75 background.