HEX: #506D7E
RGB: (80,109,126)
#506D7E contains red, green and blue colors in about the same proportion. #506D7E ‘ nin web güvenlik rengi #666666 (ya da #666) dir.
#506D7E color RGB value is (80,109,126).
RGB: (80,109,126) (31%,43%,49%)
R 80 of 255 = 31%
G 109 of 255 = 43%
B 126 of 255 = 49%
R + G + B ~ 41%. #506D7E is middle color (not dark and not light).
R + G + B =
80 + 109 + 126 = 315 (100%)
R 80 of 315 ~ 25.4%
G 109 of 315 ~ 34.6%
B 126 of 315 ~ 40%
#506D7E rengi CMYK tonu (37,13,0,51).
CMYK: (37,13,0,51) C37M13Y0K51 (37%,13%,0%,51%) (0.37/0.13/0.00/0.51)
50 | 6D | 7E | |
---|---|---|---|
RGB | 80 | 109 | 126 |
HSL | 202° | 22.33% | 40.39% |
HSB/HSV | 202° | 36.51% | 49.41% |
CMYK | 36.51% | 13.49% | 0.00% |
50.59% |
HEX | 50 | 6D | 7E |
Decimal | 80 | 109 | 126 |
Binary | 1010000 | 1101101 | 1111110 |
Octal | 120 | 155 | 176 |
Examples of css and html codes for elements with #506D7E color. Also use rgb(80,109,126) instead hex code.
.myTextColor { color: #506D7E; }
<p style="color:#506D7E">This sample text font color is #506D7E.</p>
This text font color is #506D7E.
.myBgColor { background-color: #506D7E; }
<div style="background-color:#506D7E">Inner text</div>
This div background color is #506D7E.
.myBorderColor { border: 1px solid #506D7E; }
<div style="border:3px solid #506D7E">Div</div>
This div border color is #506D7E.
.myOpacity80 { color: #506D7E; opacity: 0.8; }
<p style="color:#506D7E;opacity:0.8;">80%</p>
Text with #506D7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506D7E;}
<p style="text-shadow: 3px 3px 1px #506D7E">Text here.</p>
This text has shadow with #506D7E color.
.textShadow {text-shadow: 3px 3px 1px #506D7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506D7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #506D7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506D7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506D7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #506D7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506D7E; -webkit-box-shadow: 1px 1px 3px 2px #506D7E; box-shadow: 1px 1px 3px 2px #506D7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506D7E; -webkit-box-shadow: 1px 1px 3px 2px #506D7E; box-shadow:1px 1px 3px 2px #506D7E;">
Div content here</div>
This text has color #506D7E on black background.
This text has color #506D7E on white background.
This text has black color on #506D7E background.
This text has white color on #506D7E background.