COLOR #5B315A

HEX: #5B315A RGB: (91,49,90)

Color info

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

RGB color model

#5B315A color RGB value is (91,49,90).

RGB: (91,49,90) (36%, 19%, 35%)

RGB channels and saturation

R 91 of 255 = 36%
G 49 of 255 = 19%
B 90 of 255 = 35%

91
49
90

R + G + B ~ 30%. #5B315A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 91 + 49 + 90 = 230 (100%)
R 91 of 230 ~ 39.57%
G 49 of 230 ~ 21.3%
B 90 of 230 ~ 39.13'%

%39.57
%21.3
%39.13

CMYK color model

#5B315A color CMYK value is (0,46,1,64).

  • cyan value is 0.00%
  • magenta value is 46.15%
  • yellow value is 1.10%
  • key color value is 64.31%

CMYK: (0,46,1,64)
C0M46Y1K64 (0%, 46%, 1%, 64%)
(0.00 / 0.46 / 0.01 / 0.64)

CMYK percentages

%0
%46.15
%1.1
%64.31

Codes

Color #5B315A in popluar color models

5B 31 5A
RGB 91 49 90
HSL 301° 30.00% 27.45%
HSB/HSV 301° 46.15% 35.69%
CMYK 0.00% 46.15% 1.10%
64.31%

Color #5B315A in popluar number systems.

HEX 5B 31 5A
Decimal 91 49 90
Binary 1011011 110001 1011010
Octal 133 61 132

Shades and tints

Shades of #5B315A

#5B315A
(91,49,90)
#532D52
(83,45,82)
#4B294A
(75,41,74)
#432542
(67,37,66)
#3B213A
(59,33,58)
#331D32
(51,29,50)
#2B192A
(43,25,42)
#231522
(35,21,34)
#1B111A
(27,17,26)
#130D12
(19,13,18)
#0B090A
(11,9,10)
#000000
(0,0,0)

Tints of #5B315A

#5B315A
(91,49,90)
#694369
(105,67,105)
#775578
(119,85,120)
#856787
(133,103,135)
#937996
(147,121,150)
#A18BA5
(161,139,165)
#AF9DB4
(175,157,180)
#BDAFC3
(189,175,195)
#CBC1D2
(203,193,210)
#D9D3E1
(217,211,225)
#E7E5F0
(231,229,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B315A; }

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

This text font color is #5B315A.

Background Color

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

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

This div background color is #5B315A.

Border color

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

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

This div border color is #5B315A.

Opacity

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

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

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

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

This text has shadow with #5B315A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B315A.

Preview

Color preview on black background

This text has color #5B315A on black background.


Color preview on white background

This text has color #5B315A on white background.


Black color preview on #5B315A background

This text has black color on #5B315A background.


White color preview on #5B315A background

This text has white color on #5B315A background.


Related colors

Complementary color

Complementary color for #hex is #A4CEA5.


I love getcolorcode.com

Triadic colors

1 #5A5B31 and #315A5B with #5B315A are triadic colors.

2 #5A315B and #315B5A with #5B315A are triadic colors.