COLOR #505152

HEX: #505152 RGB: (80,81,82)

Color info

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

RGB color model

#505152 color RGB value is (80,81,82).

RGB: (80,81,82) (31%, 32%, 32%)

RGB channels and saturation

R 80 of 255 = 31%
G 81 of 255 = 32%
B 82 of 255 = 32%

80
81
82

R + G + B ~ 32%. #505152 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 81 + 82 = 243 (100%)
R 80 of 243 ~ 32.92%
G 81 of 243 ~ 33.33%
B 82 of 243 ~ 33.74'%

%32.92
%33.33
%33.74

CMYK color model

#505152 color CMYK value is (2,1,0,68).

  • cyan value is 2.44%
  • magenta value is 1.22%
  • yellow value is 0.00%
  • key color value is 67.84%

CMYK: (2,1,0,68)
C2M1Y0K68 (2%, 1%, 0%, 68%)
(0.02 / 0.01 / 0.00 / 0.68)

CMYK percentages

%2.44
%1.22
%0
%67.84

Codes

Color #505152 in popluar color models

50 51 52
RGB 80 81 82
HSL 210° 1.23% 31.76%
HSB/HSV 210° 2.44% 32.16%
CMYK 2.44% 1.22% 0.00%
67.84%

Color #505152 in popluar number systems.

HEX 50 51 52
Decimal 80 81 82
Binary 1010000 1010001 1010010
Octal 120 121 122

Shades and tints

Shades of #505152

#505152
(80,81,82)
#494A4B
(73,74,75)
#424344
(66,67,68)
#3B3C3D
(59,60,61)
#343536
(52,53,54)
#2D2E2F
(45,46,47)
#262728
(38,39,40)
#1F2021
(31,32,33)
#18191A
(24,25,26)
#111213
(17,18,19)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #505152

#505152
(80,81,82)
#5F6061
(95,96,97)
#6E6F70
(110,111,112)
#7D7E7F
(125,126,127)
#8C8D8E
(140,141,142)
#9B9C9D
(155,156,157)
#AAABAC
(170,171,172)
#B9BABB
(185,186,187)
#C8C9CA
(200,201,202)
#D7D8D9
(215,216,217)
#E6E7E8
(230,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505152; }

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

This text font color is #505152.

Background Color

.myBgColor { background-color: #505152; }

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

This div background color is #505152.

Border color

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

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

This div border color is #505152.

Opacity

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

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

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

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

This text has shadow with #505152 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505152.

Preview

Color preview on black background

This text has color #505152 on black background.


Color preview on white background

This text has color #505152 on white background.


Black color preview on #505152 background

This text has black color on #505152 background.


White color preview on #505152 background

This text has white color on #505152 background.


Related colors

Complementary color

Complementary color for #hex is #AFAEAD.


I love getcolorcode.com

Triadic colors

1 #525051 and #515250 with #505152 are triadic colors.

2 #525150 and #515052 with #505152 are triadic colors.