HEX: #516C8E
RGB: (81,108,142)
#516C8E enthält hauptsächlich grüne und blaue Farbe. Für #516C8E ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #516C8E wird in RGB als (81,108,142) definiert.
RGB: (81,108,142) (32%,42%,56%)
R 81 von 255 = 32%
G 108 von 255 = 42%
B 142 von 255 = 56%
R + G + B ~ 43%. #516C8E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 108 + 142 = 331 (100%)
R 81 von 331 ~ 24.47%
G 108 von 331 ~ 32.63%
B 142 von 331 ~ 42.9%
Die Farbe #516C8E wird in CMYK als (43,24,0,44) definiert.
CMYK: (43,24,0,44) C43M24Y0K44 (43%,24%,0%,44%) (0.43/0.24/0.00/0.44)
51 | 6C | 8E | |
---|---|---|---|
RGB | 81 | 108 | 142 |
HSL | 213° | 27.35% | 43.73% |
HSB/HSV | 213° | 42.96% | 55.69% |
CMYK | 42.96% | 23.94% | 0.00% |
44.31% |
Hexadezimal | 51 | 6C | 8E |
Dezimal | 81 | 108 | 142 |
Binär | 1010001 | 1101100 | 10001110 |
Oktal | 121 | 154 | 216 |
Beispiele css- und html für Elemente in der Farbe #516C8E. Bitte benutzen Sie auch rgb(81,108,142) statt hex-Code.
.myTextColor { color: #516C8E; }
<p style="color:#516C8E">This sample text font color is #516C8E.</p>
Die Farbe dieses Textes ist #516C8E.
.myBgColor { background-color: #516C8E; }
<div style="background-color:#516C8E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516C8E.
.myBorderColor { border: 1px solid #516C8E; }
<div style="border:3px solid #516C8E">Div</div>
Die Grenzen von diesem div sind in Farbe #516C8E.
.myOpacity80 { color: #516C8E; opacity: 0.8; }
<p style="color:#516C8E;opacity:0.8;">80%</p>
Text in Farbe #516C8E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516C8E;}
<p style="text-shadow: 3px 3px 1px #516C8E">Text here.</p>
Dieser Text hat den Schatten in Farbe #516C8E.
.textShadow {text-shadow: 3px 3px 1px #516C8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516C8E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516C8E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516C8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516C8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #516C8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516C8E; -webkit-box-shadow: 1px 1px 3px 2px #516C8E; box-shadow: 1px 1px 3px 2px #516C8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516C8E; -webkit-box-shadow: 1px 1px 3px 2px #516C8E; box-shadow:1px 1px 3px 2px #516C8E;">
Div content here</div>
Dieser Text ist in der Farbe #516C8E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516C8E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516C8E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516C8E.