COLOR #5B5275

HEX: #5B5275
RGB: (91,82,117)

Color info

#5B5275 contains red, green and blue colors in about the same proportion. Web safe color of #5B5275 is #666666 (or #666).

RGB color model

#5B5275 color RGB value is (91,82,117).

  • red value is 91;
  • green value is 82;
  • blue value is 117.
RGB:
(91,82,117)
(36%,32%,46%)

RGB channels and saturation

R 91 of 255 = 36%
G 82 of 255 = 32%
B 117 of 255 = 46%

91
82
117

R + G + B ~ 38%. #5B5275 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 82 + 117 = 290 (100%)
R 91 of 290 ~ 31.38%
G 82 of 290 ~ 28.28%
B 117 of 290 ~ 40.34%

%31.38
%28.28
%40.34

CMYK color model

#5B5275 color CMYK value is (22,30,0,54).

  • cyan value is 22.22%
  • magenta value is 29.91%
  • yellow value is 0.00%
  • key color value is 54.12%
CMYK:
(22,30,0,54)
C22M30Y0K54 
(22%,30%,0%,54%)
(0.22/0.30/0.00/0.54)	

CMYK percentages

%22.22
%29.91
%0
%54.12

Codes

Color #5B5275 in popluar color models

5B5275
RGB9182117
HSL255°17.59%39.02%
HSB/HSV255°29.91%45.88%
CMYK22.22%29.91%0.00%
54.12%

Color #5B5275 in popluar number systems.

HEX5B5275
Decimal9182117
Binary101101110100101110101
Octal133122165

Shades and tints

Shades of #5B5275

#5B5275
(91,82,117)
#534B6B
(83,75,107)
#4B4461
(75,68,97)
#433D57
(67,61,87)
#3B364D
(59,54,77)
#332F43
(51,47,67)
#2B2839
(43,40,57)
#23212F
(35,33,47)
#1B1A25
(27,26,37)
#13131B
(19,19,27)
#0B0C11
(11,12,17)
#000000
(0,0,0)

Tints of #5B5275

#5B5275
(91,82,117)
#696181
(105,97,129)
#77708D
(119,112,141)
#857F99
(133,127,153)
#938EA5
(147,142,165)
#A19DB1
(161,157,177)
#AFACBD
(175,172,189)
#BDBBC9
(189,187,201)
#CBCAD5
(203,202,213)
#D9D9E1
(217,217,225)
#E7E8ED
(231,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B5275 color. Also use rgb(91,82,117) instead hex code.

Text Font Color

.myTextColor { color: #5B5275; }

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

This text font color is #5B5275.


Background Color

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

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

This div background color is #5B5275.


Border color

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

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

This div border color is #5B5275.


Opacity

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

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

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

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

This text has shadow with #5B5275 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B5275 on black background.


Color preview on white background

This text has color #5B5275 on white background.



Black color preview on #5B5275 background

This text has black color on #5B5275 background.


White color preview on #5B5275 background

This text has white color on #5B5275 background.