COLOR #5F5B7C

HEX: #5F5B7C
RGB: (95,91,124)

Color info

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

RGB color model

#5F5B7C color RGB value is (95,91,124).

  • red value is 95;
  • green value is 91;
  • blue value is 124.
RGB:
(95,91,124)
(37%,36%,49%)

RGB channels and saturation

R 95 of 255 = 37%
G 91 of 255 = 36%
B 124 of 255 = 49%

95
91
124

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

Portions of RGB colors in percentages

R + G + B =
95 + 91 + 124 = 310 (100%)
R 95 of 310 ~ 30.65%
G 91 of 310 ~ 29.35%
B 124 of 310 ~ 40%

%30.65
%29.35
%40

CMYK color model

#5F5B7C color CMYK value is (23,27,0,51).

  • cyan value is 23.39%
  • magenta value is 26.61%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(23,27,0,51)
C23M27Y0K51 
(23%,27%,0%,51%)
(0.23/0.27/0.00/0.51)	

CMYK percentages

%23.39
%26.61
%0
%51.37

Codes

Color #5F5B7C in popluar color models

5F5B7C
RGB9591124
HSL247°15.35%42.16%
HSB/HSV247°26.61%48.63%
CMYK23.39%26.61%0.00%
51.37%

Color #5F5B7C in popluar number systems.

HEX5F5B7C
Decimal9591124
Binary101111110110111111100
Octal137133174

Shades and tints

Shades of #5F5B7C

#5F5B7C
(95,91,124)
#575371
(87,83,113)
#4F4B66
(79,75,102)
#47435B
(71,67,91)
#3F3B50
(63,59,80)
#373345
(55,51,69)
#2F2B3A
(47,43,58)
#27232F
(39,35,47)
#1F1B24
(31,27,36)
#171319
(23,19,25)
#0F0B0E
(15,11,14)
#000000
(0,0,0)

Tints of #5F5B7C

#5F5B7C
(95,91,124)
#6D6987
(109,105,135)
#7B7792
(123,119,146)
#89859D
(137,133,157)
#9793A8
(151,147,168)
#A5A1B3
(165,161,179)
#B3AFBE
(179,175,190)
#C1BDC9
(193,189,201)
#CFCBD4
(207,203,212)
#DDD9DF
(221,217,223)
#EBE7EA
(235,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5B7C color. Also use rgb(95,91,124) instead hex code.

Text Font Color

.myTextColor { color: #5F5B7C; }

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

This text font color is #5F5B7C.


Background Color

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

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

This div background color is #5F5B7C.


Border color

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

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

This div border color is #5F5B7C.


Opacity

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

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

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

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

This text has shadow with #5F5B7C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5B7C on black background.


Color preview on white background

This text has color #5F5B7C on white background.



Black color preview on #5F5B7C background

This text has black color on #5F5B7C background.


White color preview on #5F5B7C background

This text has white color on #5F5B7C background.