COLOR #5B508E

HEX: #5B508E RGB: (91,80,142)

Color info

#5B508E contains mainly red and blue colors. Web safe color of #5B508E is #666699 (or #669).

RGB color model

#5B508E color RGB value is (91,80,142).

RGB: (91,80,142) (36%, 31%, 56%)

RGB channels and saturation

R 91 of 255 = 36%
G 80 of 255 = 31%
B 142 of 255 = 56%

91
80
142

R + G + B ~ 41%. #5B508E is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 91 + 80 + 142 = 313 (100%)
R 91 of 313 ~ 29.07%
G 80 of 313 ~ 25.56%
B 142 of 313 ~ 45.37'%

%29.07
%25.56
%45.37

CMYK color model

#5B508E color CMYK value is (36,44,0,44).

  • cyan value is 35.92%
  • magenta value is 43.66%
  • yellow value is 0.00%
  • key color value is 44.31%

CMYK: (36,44,0,44)
C36M44Y0K44 (36%, 44%, 0%, 44%)
(0.36 / 0.44 / 0.00 / 0.44)

CMYK percentages

%35.92
%43.66
%0
%44.31

Codes

Color #5B508E in popluar color models

5B 50 8E
RGB 91 80 142
HSL 251° 27.93% 43.53%
HSB/HSV 251° 43.66% 55.69%
CMYK 35.92% 43.66% 0.00%
44.31%

Color #5B508E in popluar number systems.

HEX 5B 50 8E
Decimal 91 80 142
Binary 1011011 1010000 10001110
Octal 133 120 216

Shades and tints

Shades of #5B508E

#5B508E
(91,80,142)
#534982
(83,73,130)
#4B4276
(75,66,118)
#433B6A
(67,59,106)
#3B345E
(59,52,94)
#332D52
(51,45,82)
#2B2646
(43,38,70)
#231F3A
(35,31,58)
#1B182E
(27,24,46)
#131122
(19,17,34)
#0B0A16
(11,10,22)
#000000
(0,0,0)

Tints of #5B508E

#5B508E
(91,80,142)
#695F98
(105,95,152)
#776EA2
(119,110,162)
#857DAC
(133,125,172)
#938CB6
(147,140,182)
#A19BC0
(161,155,192)
#AFAACA
(175,170,202)
#BDB9D4
(189,185,212)
#CBC8DE
(203,200,222)
#D9D7E8
(217,215,232)
#E7E6F2
(231,230,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B508E color. Also use rgb(91,80,142) instead hex code.

Text Font Color

.myTextColor { color: #5B508E; }

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

This text font color is #5B508E.

Background Color

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

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

This div background color is #5B508E.

Border color

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

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

This div border color is #5B508E.

Opacity

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

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

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

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

This text has shadow with #5B508E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B508E.

Preview

Color preview on black background

This text has color #5B508E on black background.


Color preview on white background

This text has color #5B508E on white background.


Black color preview on #5B508E background

This text has black color on #5B508E background.


White color preview on #5B508E background

This text has white color on #5B508E background.


Related colors

Complementary color

Complementary color for #hex is #A4AF71.


I love getcolorcode.com

Triadic colors

1 #8E5B50 and #508E5B with #5B508E are triadic colors.

2 #8E505B and #505B8E with #5B508E are triadic colors.