COLOR #5B1887

HEX: #5B1887
RGB: (91,24,135)

Color info

#5B1887 contains mainly red and blue colors. Web safe color of #5B1887 is #660099 (or #609).

RGB color model

#5B1887 color RGB value is (91,24,135).

  • red value is 91;
  • green value is 24;
  • blue value is 135.
RGB:
(91,24,135)
(36%,9%,53%)

RGB channels and saturation

R 91 of 255 = 36%
G 24 of 255 = 9%
B 135 of 255 = 53%

91
24
135

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

Portions of RGB colors in percentages

R + G + B =
91 + 24 + 135 = 250 (100%)
R 91 of 250 ~ 36.4%
G 24 of 250 ~ 9.6%
B 135 of 250 ~ 54%

%36.4
%9.6
%54

CMYK color model

#5B1887 color CMYK value is (33,82,0,47).

  • cyan value is 32.59%
  • magenta value is 82.22%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(33,82,0,47)
C33M82Y0K47 
(33%,82%,0%,47%)
(0.33/0.82/0.00/0.47)	

CMYK percentages

%32.59
%82.22
%0
%47.06

Codes

Color #5B1887 in popluar color models

5B1887
RGB9124135
HSL276°69.81%31.18%
HSB/HSV276°82.22%52.94%
CMYK32.59%82.22%0.00%
47.06%

Color #5B1887 in popluar number systems.

HEX5B1887
Decimal9124135
Binary10110111100010000111
Octal13330207

Shades and tints

Shades of #5B1887

#5B1887
(91,24,135)
#53167B
(83,22,123)
#4B146F
(75,20,111)
#431263
(67,18,99)
#3B1057
(59,16,87)
#330E4B
(51,14,75)
#2B0C3F
(43,12,63)
#230A33
(35,10,51)
#1B0827
(27,8,39)
#13061B
(19,6,27)
#0B040F
(11,4,15)
#000000
(0,0,0)

Tints of #5B1887

#5B1887
(91,24,135)
#692D91
(105,45,145)
#77429B
(119,66,155)
#8557A5
(133,87,165)
#936CAF
(147,108,175)
#A181B9
(161,129,185)
#AF96C3
(175,150,195)
#BDABCD
(189,171,205)
#CBC0D7
(203,192,215)
#D9D5E1
(217,213,225)
#E7EAEB
(231,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B1887 color. Also use rgb(91,24,135) instead hex code.

Text Font Color

.myTextColor { color: #5B1887; }

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

This text font color is #5B1887.


Background Color

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

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

This div background color is #5B1887.


Border color

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

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

This div border color is #5B1887.


Opacity

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

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

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

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

This text has shadow with #5B1887 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B1887 on black background.


Color preview on white background

This text has color #5B1887 on white background.



Black color preview on #5B1887 background

This text has black color on #5B1887 background.


White color preview on #5B1887 background

This text has white color on #5B1887 background.