HEX: #505472
RGB: (80,84,114)
#505472 contains red, green and blue colors in about the same proportion. Web safe color of #505472 is #666666 (or #666).
#505472 color RGB value is (80,84,114).
RGB: (80,84,114) (31%,33%,45%)
R 80 of 255 = 31%
G 84 of 255 = 33%
B 114 of 255 = 45%
R + G + B ~ 36%. #505472 is quite dark color.
R + G + B =
80 + 84 + 114 = 278 (100%)
R 80 of 278 ~ 28.78%
G 84 of 278 ~ 30.22%
B 114 of 278 ~ 41.01%
#505472 color CMYK value is (30,26,0,55).
CMYK: (30,26,0,55) C30M26Y0K55 (30%,26%,0%,55%) (0.30/0.26/0.00/0.55)
50 | 54 | 72 | |
---|---|---|---|
RGB | 80 | 84 | 114 |
HSL | 233° | 17.53% | 38.04% |
HSB/HSV | 233° | 29.82% | 44.71% |
CMYK | 29.82% | 26.32% | 0.00% |
55.29% |
HEX | 50 | 54 | 72 |
Decimal | 80 | 84 | 114 |
Binary | 1010000 | 1010100 | 1110010 |
Octal | 120 | 124 | 162 |
Examples of css and html codes for elements with #505472 color. Also use rgb(80,84,114) instead hex code.
.myTextColor { color: #505472; }
<p style="color:#505472">This sample text font color is #505472.</p>
This text font color is #505472.
.myBgColor { background-color: #505472; }
<div style="background-color:#505472">Inner text</div>
This div background color is #505472.
.myBorderColor { border: 1px solid #505472; }
<div style="border:3px solid #505472">Div</div>
This div border color is #505472.
.myOpacity80 { color: #505472; opacity: 0.8; }
<p style="color:#505472;opacity:0.8;">80%</p>
Text with #505472 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505472;}
<p style="text-shadow: 3px 3px 1px #505472">Text here.</p>
This text has shadow with #505472 color.
.textShadow {text-shadow: 3px 3px 1px #505472, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505472, 5px 5px 20px red">Text here.</p>
This text has shadow with #505472 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505472, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505472, Direction=45, Strength=4)">Text</p>
This text has shadow with #505472 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505472; -webkit-box-shadow: 1px 1px 3px 2px #505472; box-shadow: 1px 1px 3px 2px #505472; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505472; -webkit-box-shadow: 1px 1px 3px 2px #505472; box-shadow:1px 1px 3px 2px #505472;">
Div content here</div>
This text has color #505472 on black background.
This text has color #505472 on white background.
This text has black color on #505472 background.
This text has white color on #505472 background.