COLOR #5B2E78

HEX: #5B2E78
RGB: (91,46,120)

Color info

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

RGB color model

#5B2E78 color RGB value is (91,46,120).

  • red value is 91;
  • green value is 46;
  • blue value is 120.
RGB:
(91,46,120)
(36%,18%,47%)

RGB channels and saturation

R 91 of 255 = 36%
G 46 of 255 = 18%
B 120 of 255 = 47%

91
46
120

R + G + B ~ 34%. #5B2E78 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 46 + 120 = 257 (100%)
R 91 of 257 ~ 35.41%
G 46 of 257 ~ 17.9%
B 120 of 257 ~ 46.69%

%35.41
%17.9
%46.69

CMYK color model

#5B2E78 color CMYK value is (24,62,0,53).

  • cyan value is 24.17%
  • magenta value is 61.67%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(24,62,0,53)
C24M62Y0K53 
(24%,62%,0%,53%)
(0.24/0.62/0.00/0.53)	

CMYK percentages

%24.17
%61.67
%0
%52.94

Codes

Color #5B2E78 in popluar color models

5B2E78
RGB9146120
HSL276°44.58%32.55%
HSB/HSV276°61.67%47.06%
CMYK24.17%61.67%0.00%
52.94%

Color #5B2E78 in popluar number systems.

HEX5B2E78
Decimal9146120
Binary10110111011101111000
Octal13356170

Shades and tints

Shades of #5B2E78

#5B2E78
(91,46,120)
#532A6E
(83,42,110)
#4B2664
(75,38,100)
#43225A
(67,34,90)
#3B1E50
(59,30,80)
#331A46
(51,26,70)
#2B163C
(43,22,60)
#231232
(35,18,50)
#1B0E28
(27,14,40)
#130A1E
(19,10,30)
#0B0614
(11,6,20)
#000000
(0,0,0)

Tints of #5B2E78

#5B2E78
(91,46,120)
#694184
(105,65,132)
#775490
(119,84,144)
#85679C
(133,103,156)
#937AA8
(147,122,168)
#A18DB4
(161,141,180)
#AFA0C0
(175,160,192)
#BDB3CC
(189,179,204)
#CBC6D8
(203,198,216)
#D9D9E4
(217,217,228)
#E7ECF0
(231,236,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B2E78 color. Also use rgb(91,46,120) instead hex code.

Text Font Color

.myTextColor { color: #5B2E78; }

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

This text font color is #5B2E78.


Background Color

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

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

This div background color is #5B2E78.


Border color

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

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

This div border color is #5B2E78.


Opacity

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

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

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

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

This text has shadow with #5B2E78 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B2E78 on black background.


Color preview on white background

This text has color #5B2E78 on white background.



Black color preview on #5B2E78 background

This text has black color on #5B2E78 background.


White color preview on #5B2E78 background

This text has white color on #5B2E78 background.