COLOR #5A316B

HEX: #5A316B RGB: (90,49,107)

Color info

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

RGB color model

#5A316B color RGB value is (90,49,107).

RGB: (90,49,107) (35%, 19%, 42%)

RGB channels and saturation

R 90 of 255 = 35%
G 49 of 255 = 19%
B 107 of 255 = 42%

90
49
107

R + G + B ~ 32%. #5A316B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 49 + 107 = 246 (100%)
R 90 of 246 ~ 36.59%
G 49 of 246 ~ 19.92%
B 107 of 246 ~ 43.5'%

%36.59
%19.92
%43.5

CMYK color model

#5A316B color CMYK value is (16,54,0,58).

  • cyan value is 15.89%
  • magenta value is 54.21%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (16,54,0,58)
C16M54Y0K58 (16%, 54%, 0%, 58%)
(0.16 / 0.54 / 0.00 / 0.58)

CMYK percentages

%15.89
%54.21
%0
%58.04

Codes

Color #5A316B in popluar color models

5A 31 6B
RGB 90 49 107
HSL 282° 37.18% 30.59%
HSB/HSV 282° 54.21% 41.96%
CMYK 15.89% 54.21% 0.00%
58.04%

Color #5A316B in popluar number systems.

HEX 5A 31 6B
Decimal 90 49 107
Binary 1011010 110001 1101011
Octal 132 61 153

Shades and tints

Shades of #5A316B

#5A316B
(90,49,107)
#522D62
(82,45,98)
#4A2959
(74,41,89)
#422550
(66,37,80)
#3A2147
(58,33,71)
#321D3E
(50,29,62)
#2A1935
(42,25,53)
#22152C
(34,21,44)
#1A1123
(26,17,35)
#120D1A
(18,13,26)
#0A0911
(10,9,17)
#000000
(0,0,0)

Tints of #5A316B

#5A316B
(90,49,107)
#694378
(105,67,120)
#785585
(120,85,133)
#876792
(135,103,146)
#96799F
(150,121,159)
#A58BAC
(165,139,172)
#B49DB9
(180,157,185)
#C3AFC6
(195,175,198)
#D2C1D3
(210,193,211)
#E1D3E0
(225,211,224)
#F0E5ED
(240,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A316B color. Also use rgb(90,49,107) instead hex code.

Text Font Color

.myTextColor { color: #5A316B; }

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

This text font color is #5A316B.

Background Color

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

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

This div background color is #5A316B.

Border color

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

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

This div border color is #5A316B.

Opacity

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

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

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

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

This text has shadow with #5A316B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A316B.

Preview

Color preview on black background

This text has color #5A316B on black background.


Color preview on white background

This text has color #5A316B on white background.


Black color preview on #5A316B background

This text has black color on #5A316B background.


White color preview on #5A316B background

This text has white color on #5A316B background.


Related colors

Complementary color

Complementary color for #hex is #A5CE94.


I love getcolorcode.com

Triadic colors

1 #6B5A31 and #316B5A with #5A316B are triadic colors.

2 #6B315A and #315A6B with #5A316B are triadic colors.