HEX: #516B50
RGB: (81,107,80)
#516B50 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #516B50 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #516B50 wird in RGB als (81,107,80) definiert.
RGB: (81,107,80) (32%,42%,31%)
R 81 von 255 = 32%
G 107 von 255 = 42%
B 80 von 255 = 31%
R + G + B ~ 35%. #516B50 ziemlich dunkle Farbe.
R + G + B =
81 + 107 + 80 = 268 (100%)
R 81 von 268 ~ 30.22%
G 107 von 268 ~ 39.93%
B 80 von 268 ~ 29.85%
Die Farbe #516B50 wird in CMYK als (24,0,25,58) definiert.
CMYK: (24,0,25,58) C24M0Y25K58 (24%,0%,25%,58%) (0.24/0.00/0.25/0.58)
51 | 6B | 50 | |
---|---|---|---|
RGB | 81 | 107 | 80 |
HSL | 118° | 14.44% | 36.67% |
HSB/HSV | 118° | 25.23% | 41.96% |
CMYK | 24.30% | 0.00% | 25.23% |
58.04% |
Hexadezimal | 51 | 6B | 50 |
Dezimal | 81 | 107 | 80 |
Binär | 1010001 | 1101011 | 1010000 |
Oktal | 121 | 153 | 120 |
Beispiele css- und html für Elemente in der Farbe #516B50. Bitte benutzen Sie auch rgb(81,107,80) statt hex-Code.
.myTextColor { color: #516B50; }
<p style="color:#516B50">This sample text font color is #516B50.</p>
Die Farbe dieses Textes ist #516B50.
.myBgColor { background-color: #516B50; }
<div style="background-color:#516B50">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516B50.
.myBorderColor { border: 1px solid #516B50; }
<div style="border:3px solid #516B50">Div</div>
Die Grenzen von diesem div sind in Farbe #516B50.
.myOpacity80 { color: #516B50; opacity: 0.8; }
<p style="color:#516B50;opacity:0.8;">80%</p>
Text in Farbe #516B50 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516B50;}
<p style="text-shadow: 3px 3px 1px #516B50">Text here.</p>
Dieser Text hat den Schatten in Farbe #516B50.
.textShadow {text-shadow: 3px 3px 1px #516B50, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516B50, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516B50 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516B50, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516B50, Direction=45, Strength=4)">Text</p>
This text has shadow with #516B50 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516B50; -webkit-box-shadow: 1px 1px 3px 2px #516B50; box-shadow: 1px 1px 3px 2px #516B50; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516B50; -webkit-box-shadow: 1px 1px 3px 2px #516B50; box-shadow:1px 1px 3px 2px #516B50;">
Div content here</div>
Dieser Text ist in der Farbe #516B50 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516B50 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516B50.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516B50.