COLOR #5A4F82

HEX: #5A4F82 RGB: (90,79,130)

Color info

#5A4F82 contains red, green and blue colors in about the same proportion. Web safe color of #5A4F82 is #666699 (or #669).

RGB color model

#5A4F82 color RGB value is (90,79,130).

RGB: (90,79,130) (35%, 31%, 51%)

RGB channels and saturation

R 90 of 255 = 35%
G 79 of 255 = 31%
B 130 of 255 = 51%

90
79
130

R + G + B ~ 39%. #5A4F82 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 79 + 130 = 299 (100%)
R 90 of 299 ~ 30.1%
G 79 of 299 ~ 26.42%
B 130 of 299 ~ 43.48'%

%30.1
%26.42
%43.48

CMYK color model

#5A4F82 color CMYK value is (31,39,0,49).

  • cyan value is 30.77%
  • magenta value is 39.23%
  • yellow value is 0.00%
  • key color value is 49.02%

CMYK: (31,39,0,49)
C31M39Y0K49 (31%, 39%, 0%, 49%)
(0.31 / 0.39 / 0.00 / 0.49)

CMYK percentages

%30.77
%39.23
%0
%49.02

Codes

Color #5A4F82 in popluar color models

5A 4F 82
RGB 90 79 130
HSL 253° 24.40% 40.98%
HSB/HSV 253° 39.23% 50.98%
CMYK 30.77% 39.23% 0.00%
49.02%

Color #5A4F82 in popluar number systems.

HEX 5A 4F 82
Decimal 90 79 130
Binary 1011010 1001111 10000010
Octal 132 117 202

Shades and tints

Shades of #5A4F82

#5A4F82
(90,79,130)
#524877
(82,72,119)
#4A416C
(74,65,108)
#423A61
(66,58,97)
#3A3356
(58,51,86)
#322C4B
(50,44,75)
#2A2540
(42,37,64)
#221E35
(34,30,53)
#1A172A
(26,23,42)
#12101F
(18,16,31)
#0A0914
(10,9,20)
#000000
(0,0,0)

Tints of #5A4F82

#5A4F82
(90,79,130)
#695F8D
(105,95,141)
#786F98
(120,111,152)
#877FA3
(135,127,163)
#968FAE
(150,143,174)
#A59FB9
(165,159,185)
#B4AFC4
(180,175,196)
#C3BFCF
(195,191,207)
#D2CFDA
(210,207,218)
#E1DFE5
(225,223,229)
#F0EFF0
(240,239,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A4F82; }

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

This text font color is #5A4F82.

Background Color

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

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

This div background color is #5A4F82.

Border color

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

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

This div border color is #5A4F82.

Opacity

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

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

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

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

This text has shadow with #5A4F82 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A4F82.

Preview

Color preview on black background

This text has color #5A4F82 on black background.


Color preview on white background

This text has color #5A4F82 on white background.


Black color preview on #5A4F82 background

This text has black color on #5A4F82 background.


White color preview on #5A4F82 background

This text has white color on #5A4F82 background.


Related colors

Complementary color

Complementary color for #hex is #A5B07D.


I love getcolorcode.com

Triadic colors

1 #825A4F and #4F825A with #5A4F82 are triadic colors.

2 #824F5A and #4F5A82 with #5A4F82 are triadic colors.