COLOR #505852

HEX: #505852 RGB: (80,88,82)

Color info

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

RGB color model

#505852 color RGB value is (80,88,82).

RGB: (80,88,82) (31%, 35%, 32%)

RGB channels and saturation

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

80
88
82

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

Portions of RGB colors in percentages

R + G + B = 80 + 88 + 82 = 250 (100%)
R 80 of 250 ~ 32%
G 88 of 250 ~ 35.2%
B 82 of 250 ~ 32.8'%

%32
%35.2
%32.8

CMYK color model

#505852 color CMYK value is (9,0,7,65).

  • cyan value is 9.09%
  • magenta value is 0.00%
  • yellow value is 6.82%
  • key color value is 65.49%

CMYK: (9,0,7,65)
C9M0Y7K65 (9%, 0%, 7%, 65%)
(0.09 / 0.00 / 0.07 / 0.65)

CMYK percentages

%9.09
%0
%6.82
%65.49

Codes

Color #505852 in popluar color models

50 58 52
RGB 80 88 82
HSL 135° 4.76% 32.94%
HSB/HSV 135° 9.09% 34.51%
CMYK 9.09% 0.00% 6.82%
65.49%

Color #505852 in popluar number systems.

HEX 50 58 52
Decimal 80 88 82
Binary 1010000 1011000 1010010
Octal 120 130 122

Shades and tints

Shades of #505852

#505852
(80,88,82)
#49504B
(73,80,75)
#424844
(66,72,68)
#3B403D
(59,64,61)
#343836
(52,56,54)
#2D302F
(45,48,47)
#262828
(38,40,40)
#1F2021
(31,32,33)
#18181A
(24,24,26)
#111013
(17,16,19)
#0A080C
(10,8,12)
#000000
(0,0,0)

Tints of #505852

#505852
(80,88,82)
#5F6761
(95,103,97)
#6E7670
(110,118,112)
#7D857F
(125,133,127)
#8C948E
(140,148,142)
#9BA39D
(155,163,157)
#AAB2AC
(170,178,172)
#B9C1BB
(185,193,187)
#C8D0CA
(200,208,202)
#D7DFD9
(215,223,217)
#E6EEE8
(230,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505852; }

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

This text font color is #505852.

Background Color

.myBgColor { background-color: #505852; }

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

This div background color is #505852.

Border color

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

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

This div border color is #505852.

Opacity

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

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

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

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

This text has shadow with #505852 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505852.

Preview

Color preview on black background

This text has color #505852 on black background.


Color preview on white background

This text has color #505852 on white background.


Black color preview on #505852 background

This text has black color on #505852 background.


White color preview on #505852 background

This text has white color on #505852 background.


Related colors

Complementary color

Complementary color for #hex is #AFA7AD.


I love getcolorcode.com

Triadic colors

1 #525058 and #585250 with #505852 are triadic colors.

2 #525850 and #585052 with #505852 are triadic colors.