COLOR #505158

HEX: #505158
RGB: (80,81,88)

Color info

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

RGB color model

#505158 color RGB value is (80,81,88).

  • red value is 80;
  • green value is 81;
  • blue value is 88.
RGB:
(80,81,88)
(31%,32%,35%)

RGB channels and saturation

R 80 of 255 = 31%
G 81 of 255 = 32%
B 88 of 255 = 35%

80
81
88

R + G + B ~ 33%. #505158 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 81 + 88 = 249 (100%)
R 80 of 249 ~ 32.13%
G 81 of 249 ~ 32.53%
B 88 of 249 ~ 35.34%

%32.13
%32.53
%35.34

CMYK color model

#505158 color CMYK value is (9,8,0,65).

  • cyan value is 9.09%
  • magenta value is 7.95%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(9,8,0,65)
C9M8Y0K65 
(9%,8%,0%,65%)
(0.09/0.08/0.00/0.65)	

CMYK percentages

%9.09
%7.95
%0
%65.49

Codes

Color #505158 in popluar color models

505158
RGB808188
HSL233°4.76%32.94%
HSB/HSV233°9.09%34.51%
CMYK9.09%7.95%0.00%
65.49%

Color #505158 in popluar number systems.

HEX505158
Decimal808188
Binary101000010100011011000
Octal120121130

Shades and tints

Shades of #505158

#505158
(80,81,88)
#494A50
(73,74,80)
#424348
(66,67,72)
#3B3C40
(59,60,64)
#343538
(52,53,56)
#2D2E30
(45,46,48)
#262728
(38,39,40)
#1F2020
(31,32,32)
#181918
(24,25,24)
#111210
(17,18,16)
#0A0B08
(10,11,8)
#000000
(0,0,0)

Tints of #505158

#505158
(80,81,88)
#5F6067
(95,96,103)
#6E6F76
(110,111,118)
#7D7E85
(125,126,133)
#8C8D94
(140,141,148)
#9B9CA3
(155,156,163)
#AAABB2
(170,171,178)
#B9BAC1
(185,186,193)
#C8C9D0
(200,201,208)
#D7D8DF
(215,216,223)
#E6E7EE
(230,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505158 color. Also use rgb(80,81,88) instead hex code.

Text Font Color

.myTextColor { color: #505158; }

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

This text font color is #505158.


Background Color

.myBgColor { background-color: #505158; }

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

This div background color is #505158.


Border color

.myBorderColor { border: 1px solid #505158; }

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

This div border color is #505158.


Opacity

.myOpacity80 { color: #505158; opacity: 0.8; }

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

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

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

This text has shadow with #505158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505158 on black background.


Color preview on white background

This text has color #505158 on white background.



Black color preview on #505158 background

This text has black color on #505158 background.


White color preview on #505158 background

This text has white color on #505158 background.