HEX: #506174
RGB: (80,97,116)
#506174 contains red, green and blue colors in about the same proportion. Web safe color of #506174 is #666666 (or #666).
#506174 color RGB value is (80,97,116).
RGB: (80,97,116) (31%,38%,45%)
R 80 of 255 = 31%
G 97 of 255 = 38%
B 116 of 255 = 45%
R + G + B ~ 38%. #506174 is quite dark color.
R + G + B =
80 + 97 + 116 = 293 (100%)
R 80 of 293 ~ 27.3%
G 97 of 293 ~ 33.11%
B 116 of 293 ~ 39.59%
#506174 color CMYK value is (31,16,0,55).
CMYK: (31,16,0,55) C31M16Y0K55 (31%,16%,0%,55%) (0.31/0.16/0.00/0.55)
50 | 61 | 74 | |
---|---|---|---|
RGB | 80 | 97 | 116 |
HSL | 212° | 18.37% | 38.43% |
HSB/HSV | 212° | 31.03% | 45.49% |
CMYK | 31.03% | 16.38% | 0.00% |
54.51% |
HEX | 50 | 61 | 74 |
Decimal | 80 | 97 | 116 |
Binary | 1010000 | 1100001 | 1110100 |
Octal | 120 | 141 | 164 |
Examples of css and html codes for elements with #506174 color. Also use rgb(80,97,116) instead hex code.
.myTextColor { color: #506174; }
<p style="color:#506174">This sample text font color is #506174.</p>
This text font color is #506174.
.myBgColor { background-color: #506174; }
<div style="background-color:#506174">Inner text</div>
This div background color is #506174.
.myBorderColor { border: 1px solid #506174; }
<div style="border:3px solid #506174">Div</div>
This div border color is #506174.
.myOpacity80 { color: #506174; opacity: 0.8; }
<p style="color:#506174;opacity:0.8;">80%</p>
Text with #506174 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506174;}
<p style="text-shadow: 3px 3px 1px #506174">Text here.</p>
This text has shadow with #506174 color.
.textShadow {text-shadow: 3px 3px 1px #506174, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506174, 5px 5px 20px red">Text here.</p>
This text has shadow with #506174 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506174, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506174, Direction=45, Strength=4)">Text</p>
This text has shadow with #506174 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506174; -webkit-box-shadow: 1px 1px 3px 2px #506174; box-shadow: 1px 1px 3px 2px #506174; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506174; -webkit-box-shadow: 1px 1px 3px 2px #506174; box-shadow:1px 1px 3px 2px #506174;">
Div content here</div>
This text has color #506174 on black background.
This text has color #506174 on white background.
This text has black color on #506174 background.
This text has white color on #506174 background.