COLOR #5B4F81

HEX: #5B4F81
RGB: (91,79,129)

Color info

#5B4F81 contains red, green and blue colors in about the same proportion. Web safe color of #5B4F81 is #666699 (or #669).

RGB color model

#5B4F81 color RGB value is (91,79,129).

  • red value is 91;
  • green value is 79;
  • blue value is 129.
RGB:
(91,79,129)
(36%,31%,51%)

RGB channels and saturation

R 91 of 255 = 36%
G 79 of 255 = 31%
B 129 of 255 = 51%

91
79
129

R + G + B ~ 39%. #5B4F81 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 79 + 129 = 299 (100%)
R 91 of 299 ~ 30.43%
G 79 of 299 ~ 26.42%
B 129 of 299 ~ 43.14%

%30.43
%26.42
%43.14

CMYK color model

#5B4F81 color CMYK value is (29,39,0,49).

  • cyan value is 29.46%
  • magenta value is 38.76%
  • yellow value is 0.00%
  • key color value is 49.41%
CMYK:
(29,39,0,49)
C29M39Y0K49 
(29%,39%,0%,49%)
(0.29/0.39/0.00/0.49)	

CMYK percentages

%29.46
%38.76
%0
%49.41

Codes

Color #5B4F81 in popluar color models

5B4F81
RGB9179129
HSL254°24.04%40.78%
HSB/HSV254°38.76%50.59%
CMYK29.46%38.76%0.00%
49.41%

Color #5B4F81 in popluar number systems.

HEX5B4F81
Decimal9179129
Binary1011011100111110000001
Octal133117201

Shades and tints

Shades of #5B4F81

#5B4F81
(91,79,129)
#534876
(83,72,118)
#4B416B
(75,65,107)
#433A60
(67,58,96)
#3B3355
(59,51,85)
#332C4A
(51,44,74)
#2B253F
(43,37,63)
#231E34
(35,30,52)
#1B1729
(27,23,41)
#13101E
(19,16,30)
#0B0913
(11,9,19)
#000000
(0,0,0)

Tints of #5B4F81

#5B4F81
(91,79,129)
#695F8C
(105,95,140)
#776F97
(119,111,151)
#857FA2
(133,127,162)
#938FAD
(147,143,173)
#A19FB8
(161,159,184)
#AFAFC3
(175,175,195)
#BDBFCE
(189,191,206)
#CBCFD9
(203,207,217)
#D9DFE4
(217,223,228)
#E7EFEF
(231,239,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B4F81 color. Also use rgb(91,79,129) instead hex code.

Text Font Color

.myTextColor { color: #5B4F81; }

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

This text font color is #5B4F81.


Background Color

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

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

This div background color is #5B4F81.


Border color

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

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

This div border color is #5B4F81.


Opacity

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

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

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

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

This text has shadow with #5B4F81 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B4F81 on black background.


Color preview on white background

This text has color #5B4F81 on white background.



Black color preview on #5B4F81 background

This text has black color on #5B4F81 background.


White color preview on #5B4F81 background

This text has white color on #5B4F81 background.