COLOR #5F5A6F

HEX: #5F5A6F
RGB: (95,90,111)

Color info

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

RGB color model

#5F5A6F color RGB value is (95,90,111).

  • red value is 95;
  • green value is 90;
  • blue value is 111.
RGB:
(95,90,111)
(37%,35%,44%)

RGB channels and saturation

R 95 of 255 = 37%
G 90 of 255 = 35%
B 111 of 255 = 44%

95
90
111

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

Portions of RGB colors in percentages

R + G + B =
95 + 90 + 111 = 296 (100%)
R 95 of 296 ~ 32.09%
G 90 of 296 ~ 30.41%
B 111 of 296 ~ 37.5%

%32.09
%30.41
%37.5

CMYK color model

#5F5A6F color CMYK value is (14,19,0,56).

  • cyan value is 14.41%
  • magenta value is 18.92%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(14,19,0,56)
C14M19Y0K56 
(14%,19%,0%,56%)
(0.14/0.19/0.00/0.56)	

CMYK percentages

%14.41
%18.92
%0
%56.47

Codes

Color #5F5A6F in popluar color models

5F5A6F
RGB9590111
HSL254°10.45%39.41%
HSB/HSV254°18.92%43.53%
CMYK14.41%18.92%0.00%
56.47%

Color #5F5A6F in popluar number systems.

HEX5F5A6F
Decimal9590111
Binary101111110110101101111
Octal137132157

Shades and tints

Shades of #5F5A6F

#5F5A6F
(95,90,111)
#575265
(87,82,101)
#4F4A5B
(79,74,91)
#474251
(71,66,81)
#3F3A47
(63,58,71)
#37323D
(55,50,61)
#2F2A33
(47,42,51)
#272229
(39,34,41)
#1F1A1F
(31,26,31)
#171215
(23,18,21)
#0F0A0B
(15,10,11)
#000000
(0,0,0)

Tints of #5F5A6F

#5F5A6F
(95,90,111)
#6D697C
(109,105,124)
#7B7889
(123,120,137)
#898796
(137,135,150)
#9796A3
(151,150,163)
#A5A5B0
(165,165,176)
#B3B4BD
(179,180,189)
#C1C3CA
(193,195,202)
#CFD2D7
(207,210,215)
#DDE1E4
(221,225,228)
#EBF0F1
(235,240,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5A6F color. Also use rgb(95,90,111) instead hex code.

Text Font Color

.myTextColor { color: #5F5A6F; }

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

This text font color is #5F5A6F.


Background Color

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

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

This div background color is #5F5A6F.


Border color

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

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

This div border color is #5F5A6F.


Opacity

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

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

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

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

This text has shadow with #5F5A6F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5A6F on black background.


Color preview on white background

This text has color #5F5A6F on white background.



Black color preview on #5F5A6F background

This text has black color on #5F5A6F background.


White color preview on #5F5A6F background

This text has white color on #5F5A6F background.