COLOR #5A6C6C

HEX: #5A6C6C RGB: (90,108,108)

Color info

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

RGB color model

#5A6C6C color RGB value is (90,108,108).

RGB: (90,108,108) (35%, 42%, 42%)

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 108 of 255 = 42%

90
108
108

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

Portions of RGB colors in percentages

R + G + B = 90 + 108 + 108 = 306 (100%)
R 90 of 306 ~ 29.41%
G 108 of 306 ~ 35.29%
B 108 of 306 ~ 35.29'%

%29.41
%35.29
%35.29

CMYK color model

#5A6C6C color CMYK value is (17,0,0,58).

  • cyan value is 16.67%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 57.65%

CMYK: (17,0,0,58)
C17M0Y0K58 (17%, 0%, 0%, 58%)
(0.17 / 0.00 / 0.00 / 0.58)

CMYK percentages

%16.67
%0
%0
%57.65

Codes

Color #5A6C6C in popluar color models

5A 6C 6C
RGB 90 108 108
HSL 180° 9.09% 38.82%
HSB/HSV 180° 16.67% 42.35%
CMYK 16.67% 0.00% 0.00%
57.65%

Color #5A6C6C in popluar number systems.

HEX 5A 6C 6C
Decimal 90 108 108
Binary 1011010 1101100 1101100
Octal 132 154 154

Shades and tints

Shades of #5A6C6C

#5A6C6C
(90,108,108)
#526363
(82,99,99)
#4A5A5A
(74,90,90)
#425151
(66,81,81)
#3A4848
(58,72,72)
#323F3F
(50,63,63)
#2A3636
(42,54,54)
#222D2D
(34,45,45)
#1A2424
(26,36,36)
#121B1B
(18,27,27)
#0A1212
(10,18,18)
#000000
(0,0,0)

Tints of #5A6C6C

#5A6C6C
(90,108,108)
#697979
(105,121,121)
#788686
(120,134,134)
#879393
(135,147,147)
#96A0A0
(150,160,160)
#A5ADAD
(165,173,173)
#B4BABA
(180,186,186)
#C3C7C7
(195,199,199)
#D2D4D4
(210,212,212)
#E1E1E1
(225,225,225)
#F0EEEE
(240,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C6C; }

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

This text font color is #5A6C6C.

Background Color

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

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

This div background color is #5A6C6C.

Border color

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

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

This div border color is #5A6C6C.

Opacity

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

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

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

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

This text has shadow with #5A6C6C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6C6C.

Preview

Color preview on black background

This text has color #5A6C6C on black background.


Color preview on white background

This text has color #5A6C6C on white background.


Black color preview on #5A6C6C background

This text has black color on #5A6C6C background.


White color preview on #5A6C6C background

This text has white color on #5A6C6C background.


Related colors

Complementary color

Complementary color for #hex is #A59393.


I love getcolorcode.com