COLOR #5A396E

HEX: #5A396E RGB: (90,57,110)

Color info

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

RGB color model

#5A396E color RGB value is (90,57,110).

RGB: (90,57,110) (35%, 22%, 43%)

RGB channels and saturation

R 90 of 255 = 35%
G 57 of 255 = 22%
B 110 of 255 = 43%

90
57
110

R + G + B ~ 33%. #5A396E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 57 + 110 = 257 (100%)
R 90 of 257 ~ 35.02%
G 57 of 257 ~ 22.18%
B 110 of 257 ~ 42.8'%

%35.02
%22.18
%42.8

CMYK color model

#5A396E color CMYK value is (18,48,0,57).

  • cyan value is 18.18%
  • magenta value is 48.18%
  • yellow value is 0.00%
  • key color value is 56.86%

CMYK: (18,48,0,57)
C18M48Y0K57 (18%, 48%, 0%, 57%)
(0.18 / 0.48 / 0.00 / 0.57)

CMYK percentages

%18.18
%48.18
%0
%56.86

Codes

Color #5A396E in popluar color models

5A 39 6E
RGB 90 57 110
HSL 277° 31.74% 32.75%
HSB/HSV 277° 48.18% 43.14%
CMYK 18.18% 48.18% 0.00%
56.86%

Color #5A396E in popluar number systems.

HEX 5A 39 6E
Decimal 90 57 110
Binary 1011010 111001 1101110
Octal 132 71 156

Shades and tints

Shades of #5A396E

#5A396E
(90,57,110)
#523464
(82,52,100)
#4A2F5A
(74,47,90)
#422A50
(66,42,80)
#3A2546
(58,37,70)
#32203C
(50,32,60)
#2A1B32
(42,27,50)
#221628
(34,22,40)
#1A111E
(26,17,30)
#120C14
(18,12,20)
#0A070A
(10,7,10)
#000000
(0,0,0)

Tints of #5A396E

#5A396E
(90,57,110)
#694B7B
(105,75,123)
#785D88
(120,93,136)
#876F95
(135,111,149)
#9681A2
(150,129,162)
#A593AF
(165,147,175)
#B4A5BC
(180,165,188)
#C3B7C9
(195,183,201)
#D2C9D6
(210,201,214)
#E1DBE3
(225,219,227)
#F0EDF0
(240,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A396E; }

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

This text font color is #5A396E.

Background Color

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

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

This div background color is #5A396E.

Border color

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

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

This div border color is #5A396E.

Opacity

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

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

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

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

This text has shadow with #5A396E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A396E.

Preview

Color preview on black background

This text has color #5A396E on black background.


Color preview on white background

This text has color #5A396E on white background.


Black color preview on #5A396E background

This text has black color on #5A396E background.


White color preview on #5A396E background

This text has white color on #5A396E background.


Related colors

Complementary color

Complementary color for #hex is #A5C691.


I love getcolorcode.com

Triadic colors

1 #6E5A39 and #396E5A with #5A396E are triadic colors.

2 #6E395A and #395A6E with #5A396E are triadic colors.