COLOR #5A5858

HEX: #5A5858 RGB: (90,88,88)

Color info

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

RGB color model

#5A5858 color RGB value is (90,88,88).

RGB: (90,88,88) (35%, 35%, 35%)

RGB channels and saturation

R 90 of 255 = 35%
G 88 of 255 = 35%
B 88 of 255 = 35%

90
88
88

R + G + B ~ 35%. #5A5858 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 88 + 88 = 266 (100%)
R 90 of 266 ~ 33.83%
G 88 of 266 ~ 33.08%
B 88 of 266 ~ 33.08'%

%33.83
%33.08
%33.08

CMYK color model

#5A5858 color CMYK value is (0,2,2,65).

  • cyan value is 0.00%
  • magenta value is 2.22%
  • yellow value is 2.22%
  • key color value is 64.71%

CMYK: (0,2,2,65)
C0M2Y2K65 (0%, 2%, 2%, 65%)
(0.00 / 0.02 / 0.02 / 0.65)

CMYK percentages

%0
%2.22
%2.22
%64.71

Codes

Color #5A5858 in popluar color models

5A 58 58
RGB 90 88 88
HSL 1.12% 34.90%
HSB/HSV 2.22% 35.29%
CMYK 0.00% 2.22% 2.22%
64.71%

Color #5A5858 in popluar number systems.

HEX 5A 58 58
Decimal 90 88 88
Binary 1011010 1011000 1011000
Octal 132 130 130

Shades and tints

Shades of #5A5858

#5A5858
(90,88,88)
#525050
(82,80,80)
#4A4848
(74,72,72)
#424040
(66,64,64)
#3A3838
(58,56,56)
#323030
(50,48,48)
#2A2828
(42,40,40)
#222020
(34,32,32)
#1A1818
(26,24,24)
#121010
(18,16,16)
#0A0808
(10,8,8)
#000000
(0,0,0)

Tints of #5A5858

#5A5858
(90,88,88)
#696767
(105,103,103)
#787676
(120,118,118)
#878585
(135,133,133)
#969494
(150,148,148)
#A5A3A3
(165,163,163)
#B4B2B2
(180,178,178)
#C3C1C1
(195,193,193)
#D2D0D0
(210,208,208)
#E1DFDF
(225,223,223)
#F0EEEE
(240,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5858; }

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

This text font color is #5A5858.

Background Color

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

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

This div background color is #5A5858.

Border color

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

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

This div border color is #5A5858.

Opacity

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

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

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

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

This text has shadow with #5A5858 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5858.

Preview

Color preview on black background

This text has color #5A5858 on black background.


Color preview on white background

This text has color #5A5858 on white background.


Black color preview on #5A5858 background

This text has black color on #5A5858 background.


White color preview on #5A5858 background

This text has white color on #5A5858 background.


Related colors

Complementary color

Complementary color for #hex is #A5A7A7.


I love getcolorcode.com