HEX: #506080
RGB: (80,96,128)
#506080 contains red, green and blue colors in about the same proportion. #506080 ‘ nin web güvenlik rengi #666666 (ya da #666) dir.
#506080 color RGB value is (80,96,128).
RGB: (80,96,128) (31%,38%,50%)
R 80 of 255 = 31%
G 96 of 255 = 38%
B 128 of 255 = 50%
R + G + B ~ 40%. #506080 is middle color (not dark and not light).
R + G + B =
80 + 96 + 128 = 304 (100%)
R 80 of 304 ~ 26.32%
G 96 of 304 ~ 31.58%
B 128 of 304 ~ 42.11%
#506080 rengi CMYK tonu (38,25,0,50).
CMYK: (38,25,0,50) C38M25Y0K50 (38%,25%,0%,50%) (0.38/0.25/0.00/0.50)
50 | 60 | 80 | |
---|---|---|---|
RGB | 80 | 96 | 128 |
HSL | 220° | 23.08% | 40.78% |
HSB/HSV | 220° | 37.50% | 50.20% |
CMYK | 37.50% | 25.00% | 0.00% |
49.80% |
HEX | 50 | 60 | 80 |
Decimal | 80 | 96 | 128 |
Binary | 1010000 | 1100000 | 10000000 |
Octal | 120 | 140 | 200 |
Examples of css and html codes for elements with #506080 color. Also use rgb(80,96,128) instead hex code.
.myTextColor { color: #506080; }
<p style="color:#506080">This sample text font color is #506080.</p>
This text font color is #506080.
.myBgColor { background-color: #506080; }
<div style="background-color:#506080">Inner text</div>
This div background color is #506080.
.myBorderColor { border: 1px solid #506080; }
<div style="border:3px solid #506080">Div</div>
This div border color is #506080.
.myOpacity80 { color: #506080; opacity: 0.8; }
<p style="color:#506080;opacity:0.8;">80%</p>
Text with #506080 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506080;}
<p style="text-shadow: 3px 3px 1px #506080">Text here.</p>
This text has shadow with #506080 color.
.textShadow {text-shadow: 3px 3px 1px #506080, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506080, 5px 5px 20px red">Text here.</p>
This text has shadow with #506080 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506080, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506080, Direction=45, Strength=4)">Text</p>
This text has shadow with #506080 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506080; -webkit-box-shadow: 1px 1px 3px 2px #506080; box-shadow: 1px 1px 3px 2px #506080; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506080; -webkit-box-shadow: 1px 1px 3px 2px #506080; box-shadow:1px 1px 3px 2px #506080;">
Div content here</div>
This text has color #506080 on black background.
This text has color #506080 on white background.
This text has black color on #506080 background.
This text has white color on #506080 background.