COLOR #505271

HEX: #505271 RGB: (80,82,113)

Color info

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

RGB color model

#505271 color RGB value is (80,82,113).

RGB: (80,82,113) (31%, 32%, 44%)

RGB channels and saturation

R 80 of 255 = 31%
G 82 of 255 = 32%
B 113 of 255 = 44%

80
82
113

R + G + B ~ 36%. #505271 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 82 + 113 = 275 (100%)
R 80 of 275 ~ 29.09%
G 82 of 275 ~ 29.82%
B 113 of 275 ~ 41.09'%

%29.09
%29.82
%41.09

CMYK color model

#505271 color CMYK value is (29,27,0,56).

  • cyan value is 29.20%
  • magenta value is 27.43%
  • yellow value is 0.00%
  • key color value is 55.69%

CMYK: (29,27,0,56)
C29M27Y0K56 (29%, 27%, 0%, 56%)
(0.29 / 0.27 / 0.00 / 0.56)

CMYK percentages

%29.2
%27.43
%0
%55.69

Codes

Color #505271 in popluar color models

50 52 71
RGB 80 82 113
HSL 236° 17.10% 37.84%
HSB/HSV 236° 29.20% 44.31%
CMYK 29.20% 27.43% 0.00%
55.69%

Color #505271 in popluar number systems.

HEX 50 52 71
Decimal 80 82 113
Binary 1010000 1010010 1110001
Octal 120 122 161

Shades and tints

Shades of #505271

#505271
(80,82,113)
#494B67
(73,75,103)
#42445D
(66,68,93)
#3B3D53
(59,61,83)
#343649
(52,54,73)
#2D2F3F
(45,47,63)
#262835
(38,40,53)
#1F212B
(31,33,43)
#181A21
(24,26,33)
#111317
(17,19,23)
#0A0C0D
(10,12,13)
#000000
(0,0,0)

Tints of #505271

#505271
(80,82,113)
#5F617D
(95,97,125)
#6E7089
(110,112,137)
#7D7F95
(125,127,149)
#8C8EA1
(140,142,161)
#9B9DAD
(155,157,173)
#AAACB9
(170,172,185)
#B9BBC5
(185,187,197)
#C8CAD1
(200,202,209)
#D7D9DD
(215,217,221)
#E6E8E9
(230,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505271; }

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

This text font color is #505271.

Background Color

.myBgColor { background-color: #505271; }

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

This div background color is #505271.

Border color

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

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

This div border color is #505271.

Opacity

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

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

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

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

This text has shadow with #505271 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505271.

Preview

Color preview on black background

This text has color #505271 on black background.


Color preview on white background

This text has color #505271 on white background.


Black color preview on #505271 background

This text has black color on #505271 background.


White color preview on #505271 background

This text has white color on #505271 background.


Related colors

Complementary color

Complementary color for #hex is #AFAD8E.


I love getcolorcode.com

Triadic colors

1 #715052 and #527150 with #505271 are triadic colors.

2 #715250 and #525071 with #505271 are triadic colors.