COLOR #5B2D71

HEX: #5B2D71
RGB: (91,45,113)

Color info

#5B2D71 contains mainly red and blue colors. Web safe color of #5B2D71 is #663366 (or #636).

RGB color model

#5B2D71 color RGB value is (91,45,113).

  • red value is 91;
  • green value is 45;
  • blue value is 113.
RGB:
(91,45,113)
(36%,18%,44%)

RGB channels and saturation

R 91 of 255 = 36%
G 45 of 255 = 18%
B 113 of 255 = 44%

91
45
113

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

Portions of RGB colors in percentages

R + G + B =
91 + 45 + 113 = 249 (100%)
R 91 of 249 ~ 36.55%
G 45 of 249 ~ 18.07%
B 113 of 249 ~ 45.38%

%36.55
%18.07
%45.38

CMYK color model

#5B2D71 color CMYK value is (19,60,0,56).

  • cyan value is 19.47%
  • magenta value is 60.18%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(19,60,0,56)
C19M60Y0K56 
(19%,60%,0%,56%)
(0.19/0.60/0.00/0.56)	

CMYK percentages

%19.47
%60.18
%0
%55.69

Codes

Color #5B2D71 in popluar color models

5B2D71
RGB9145113
HSL281°43.04%30.98%
HSB/HSV281°60.18%44.31%
CMYK19.47%60.18%0.00%
55.69%

Color #5B2D71 in popluar number systems.

HEX5B2D71
Decimal9145113
Binary10110111011011110001
Octal13355161

Shades and tints

Shades of #5B2D71

#5B2D71
(91,45,113)
#532967
(83,41,103)
#4B255D
(75,37,93)
#432153
(67,33,83)
#3B1D49
(59,29,73)
#33193F
(51,25,63)
#2B1535
(43,21,53)
#23112B
(35,17,43)
#1B0D21
(27,13,33)
#130917
(19,9,23)
#0B050D
(11,5,13)
#000000
(0,0,0)

Tints of #5B2D71

#5B2D71
(91,45,113)
#69407D
(105,64,125)
#775389
(119,83,137)
#856695
(133,102,149)
#9379A1
(147,121,161)
#A18CAD
(161,140,173)
#AF9FB9
(175,159,185)
#BDB2C5
(189,178,197)
#CBC5D1
(203,197,209)
#D9D8DD
(217,216,221)
#E7EBE9
(231,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B2D71 color. Also use rgb(91,45,113) instead hex code.

Text Font Color

.myTextColor { color: #5B2D71; }

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

This text font color is #5B2D71.


Background Color

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

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

This div background color is #5B2D71.


Border color

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

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

This div border color is #5B2D71.


Opacity

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

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

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

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

This text has shadow with #5B2D71 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B2D71 on black background.


Color preview on white background

This text has color #5B2D71 on white background.



Black color preview on #5B2D71 background

This text has black color on #5B2D71 background.


White color preview on #5B2D71 background

This text has white color on #5B2D71 background.