COLOR #5B1DA5

HEX: #5B1DA5
RGB: (91,29,165)

Color info

#5B1DA5 contains mainly blue color. Web safe color of #5B1DA5 is #663399 (or #639).

RGB color model

#5B1DA5 color RGB value is (91,29,165).

  • red value is 91;
  • green value is 29;
  • blue value is 165.
RGB:
(91,29,165)
(36%,11%,65%)

RGB channels and saturation

R 91 of 255 = 36%
G 29 of 255 = 11%
B 165 of 255 = 65%

91
29
165

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

Portions of RGB colors in percentages

R + G + B =
91 + 29 + 165 = 285 (100%)
R 91 of 285 ~ 31.93%
G 29 of 285 ~ 10.18%
B 165 of 285 ~ 57.89%

%31.93
%10.18
%57.89

CMYK color model

#5B1DA5 color CMYK value is (45,82,0,35).

  • cyan value is 44.85%
  • magenta value is 82.42%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(45,82,0,35)
C45M82Y0K35 
(45%,82%,0%,35%)
(0.45/0.82/0.00/0.35)	

CMYK percentages

%44.85
%82.42
%0
%35.29

Codes

Color #5B1DA5 in popluar color models

5B1DA5
RGB9129165
HSL267°70.10%38.04%
HSB/HSV267°82.42%64.71%
CMYK44.85%82.42%0.00%
35.29%

Color #5B1DA5 in popluar number systems.

HEX5B1DA5
Decimal9129165
Binary10110111110110100101
Octal13335245

Shades and tints

Shades of #5B1DA5

#5B1DA5
(91,29,165)
#531B96
(83,27,150)
#4B1987
(75,25,135)
#431778
(67,23,120)
#3B1569
(59,21,105)
#33135A
(51,19,90)
#2B114B
(43,17,75)
#230F3C
(35,15,60)
#1B0D2D
(27,13,45)
#130B1E
(19,11,30)
#0B090F
(11,9,15)
#000000
(0,0,0)

Tints of #5B1DA5

#5B1DA5
(91,29,165)
#6931AD
(105,49,173)
#7745B5
(119,69,181)
#8559BD
(133,89,189)
#936DC5
(147,109,197)
#A181CD
(161,129,205)
#AF95D5
(175,149,213)
#BDA9DD
(189,169,221)
#CBBDE5
(203,189,229)
#D9D1ED
(217,209,237)
#E7E5F5
(231,229,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B1DA5 color. Also use rgb(91,29,165) instead hex code.

Text Font Color

.myTextColor { color: #5B1DA5; }

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

This text font color is #5B1DA5.


Background Color

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

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

This div background color is #5B1DA5.


Border color

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

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

This div border color is #5B1DA5.


Opacity

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

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

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

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

This text has shadow with #5B1DA5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B1DA5 on black background.


Color preview on white background

This text has color #5B1DA5 on white background.



Black color preview on #5B1DA5 background

This text has black color on #5B1DA5 background.


White color preview on #5B1DA5 background

This text has white color on #5B1DA5 background.