HEX: #516980
RGB: (81,105,128)
#516980 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #516980 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #516980 wird in RGB als (81,105,128) definiert.
RGB: (81,105,128) (32%,41%,50%)
R 81 von 255 = 32%
G 105 von 255 = 41%
B 128 von 255 = 50%
R + G + B ~ 41%. #516980 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 105 + 128 = 314 (100%)
R 81 von 314 ~ 25.8%
G 105 von 314 ~ 33.44%
B 128 von 314 ~ 40.76%
Die Farbe #516980 wird in CMYK als (37,18,0,50) definiert.
CMYK: (37,18,0,50) C37M18Y0K50 (37%,18%,0%,50%) (0.37/0.18/0.00/0.50)
51 | 69 | 80 | |
---|---|---|---|
RGB | 81 | 105 | 128 |
HSL | 209° | 22.49% | 40.98% |
HSB/HSV | 209° | 36.72% | 50.20% |
CMYK | 36.72% | 17.97% | 0.00% |
49.80% |
Hexadezimal | 51 | 69 | 80 |
Dezimal | 81 | 105 | 128 |
Binär | 1010001 | 1101001 | 10000000 |
Oktal | 121 | 151 | 200 |
Beispiele css- und html für Elemente in der Farbe #516980. Bitte benutzen Sie auch rgb(81,105,128) statt hex-Code.
.myTextColor { color: #516980; }
<p style="color:#516980">This sample text font color is #516980.</p>
Die Farbe dieses Textes ist #516980.
.myBgColor { background-color: #516980; }
<div style="background-color:#516980">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516980.
.myBorderColor { border: 1px solid #516980; }
<div style="border:3px solid #516980">Div</div>
Die Grenzen von diesem div sind in Farbe #516980.
.myOpacity80 { color: #516980; opacity: 0.8; }
<p style="color:#516980;opacity:0.8;">80%</p>
Text in Farbe #516980 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516980;}
<p style="text-shadow: 3px 3px 1px #516980">Text here.</p>
Dieser Text hat den Schatten in Farbe #516980.
.textShadow {text-shadow: 3px 3px 1px #516980, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516980, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516980 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516980, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516980, Direction=45, Strength=4)">Text</p>
This text has shadow with #516980 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516980; -webkit-box-shadow: 1px 1px 3px 2px #516980; box-shadow: 1px 1px 3px 2px #516980; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516980; -webkit-box-shadow: 1px 1px 3px 2px #516980; box-shadow:1px 1px 3px 2px #516980;">
Div content here</div>
Dieser Text ist in der Farbe #516980 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516980 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516980.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516980.