COLOR #5B509F

HEX: #5B509F RGB: (91,80,159)

Color info

#5B509F contains mainly blue color. Web safe color of #5B509F is #666699 (or #669).

RGB color model

#5B509F color RGB value is (91,80,159).

RGB: (91,80,159) (36%, 31%, 62%)

RGB channels and saturation

R 91 of 255 = 36%
G 80 of 255 = 31%
B 159 of 255 = 62%

91
80
159

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

Portions of RGB colors in percentages

R + G + B = 91 + 80 + 159 = 330 (100%)
R 91 of 330 ~ 27.58%
G 80 of 330 ~ 24.24%
B 159 of 330 ~ 48.18'%

%27.58
%24.24
%48.18

CMYK color model

#5B509F color CMYK value is (43,50,0,38).

  • cyan value is 42.77%
  • magenta value is 49.69%
  • yellow value is 0.00%
  • key color value is 37.65%
CMYK: (43,50,0,38) C43M50Y0K38 (43%,50%,0%,38%) (0.43/0.50/0.00/0.38) 

CMYK percentages

%42.77
%49.69
%0
%37.65

Codes

Color #5B509F in popluar color models

5B 50 9F
RGB 91 80 159
HSL 248° 33.05% 46.86%
HSB/HSV 248° 49.69% 62.35%
CMYK 42.77% 49.69% 0.00%
37.65%

Color #5B509F in popluar number systems.

HEX 5B 50 9F
Decimal 91 80 159
Binary 1011011 1010000 10011111
Octal 133 120 237

Shades and tints

Shades of #5B509F

#5B509F
(91,80,159)
#534991
(83,73,145)
#4B4283
(75,66,131)
#433B75
(67,59,117)
#3B3467
(59,52,103)
#332D59
(51,45,89)
#2B264B
(43,38,75)
#231F3D
(35,31,61)
#1B182F
(27,24,47)
#131121
(19,17,33)
#0B0A13
(11,10,19)
#000000
(0,0,0)

Tints of #5B509F

#5B509F
(91,80,159)
#695FA7
(105,95,167)
#776EAF
(119,110,175)
#857DB7
(133,125,183)
#938CBF
(147,140,191)
#A19BC7
(161,155,199)
#AFAACF
(175,170,207)
#BDB9D7
(189,185,215)
#CBC8DF
(203,200,223)
#D9D7E7
(217,215,231)
#E7E6EF
(231,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B509F; }

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

This text font color is #5B509F.

Background Color

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

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

This div background color is #5B509F.

Border color

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

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

This div border color is #5B509F.

Opacity

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

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

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

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

This text has shadow with #5B509F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B509F.

Preview

Color preview on black background

This text has color #5B509F on black background.


Color preview on white background

This text has color #5B509F on white background.


Black color preview on #5B509F background

This text has black color on #5B509F background.


White color preview on #5B509F background

This text has white color on #5B509F background.


Related colors

Complementary color

Complementary color for #hex is #A4AF60.


I love getcolorcode.com

Triadic colors

1 #9F5B50 and #509F5B with #5B509F are triadic colors.

2 #9F505B and #505B9F with #5B509F are triadic colors.