COLOR #5A5F6F

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

Color info

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

RGB color model

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

RGB: (90,95,111) (35%, 37%, 44%)

RGB channels and saturation

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

90
95
111

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

Portions of RGB colors in percentages

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

%30.41
%32.09
%37.5

CMYK color model

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

  • cyan value is 18.92%
  • magenta value is 14.41%
  • yellow value is 0.00%
  • key color value is 56.47%

CMYK: (19,14,0,56)
C19M14Y0K56 (19%, 14%, 0%, 56%)
(0.19 / 0.14 / 0.00 / 0.56)

CMYK percentages

%18.92
%14.41
%0
%56.47

Codes

Color #5A5F6F in popluar color models

5A 5F 6F
RGB 90 95 111
HSL 226° 10.45% 39.41%
HSB/HSV 226° 18.92% 43.53%
CMYK 18.92% 14.41% 0.00%
56.47%

Color #5A5F6F in popluar number systems.

HEX 5A 5F 6F
Decimal 90 95 111
Binary 1011010 1011111 1101111
Octal 132 137 157

Shades and tints

Shades of #5A5F6F

#5A5F6F
(90,95,111)
#525765
(82,87,101)
#4A4F5B
(74,79,91)
#424751
(66,71,81)
#3A3F47
(58,63,71)
#32373D
(50,55,61)
#2A2F33
(42,47,51)
#222729
(34,39,41)
#1A1F1F
(26,31,31)
#121715
(18,23,21)
#0A0F0B
(10,15,11)
#000000
(0,0,0)

Tints of #5A5F6F

#5A5F6F
(90,95,111)
#696D7C
(105,109,124)
#787B89
(120,123,137)
#878996
(135,137,150)
#9697A3
(150,151,163)
#A5A5B0
(165,165,176)
#B4B3BD
(180,179,189)
#C3C1CA
(195,193,202)
#D2CFD7
(210,207,215)
#E1DDE4
(225,221,228)
#F0EBF1
(240,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5F6F; }

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

This text font color is #5A5F6F.

Background Color

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

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

This div background color is #5A5F6F.

Border color

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

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

This div border color is #5A5F6F.

Opacity

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

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

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

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

This text has shadow with #5A5F6F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5F6F.

Preview

Color preview on black background

This text has color #5A5F6F on black background.


Color preview on white background

This text has color #5A5F6F on white background.


Black color preview on #5A5F6F background

This text has black color on #5A5F6F background.


White color preview on #5A5F6F background

This text has white color on #5A5F6F background.


Related colors

Complementary color

Complementary color for #hex is #A5A090.


I love getcolorcode.com

Triadic colors

1 #6F5A5F and #5F6F5A with #5A5F6F are triadic colors.

2 #6F5F5A and #5F5A6F with #5A5F6F are triadic colors.