HEX: #516B72
RGB: (81,107,114)
#516B72 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #516B72 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #516B72 wird in RGB als (81,107,114) definiert.
RGB: (81,107,114) (32%,42%,45%)
R 81 von 255 = 32%
G 107 von 255 = 42%
B 114 von 255 = 45%
R + G + B ~ 40%. #516B72 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 107 + 114 = 302 (100%)
R 81 von 302 ~ 26.82%
G 107 von 302 ~ 35.43%
B 114 von 302 ~ 37.75%
Die Farbe #516B72 wird in CMYK als (29,6,0,55) definiert.
CMYK: (29,6,0,55) C29M6Y0K55 (29%,6%,0%,55%) (0.29/0.06/0.00/0.55)
51 | 6B | 72 | |
---|---|---|---|
RGB | 81 | 107 | 114 |
HSL | 193° | 16.92% | 38.24% |
HSB/HSV | 193° | 28.95% | 44.71% |
CMYK | 28.95% | 6.14% | 0.00% |
55.29% |
Hexadezimal | 51 | 6B | 72 |
Dezimal | 81 | 107 | 114 |
Binär | 1010001 | 1101011 | 1110010 |
Oktal | 121 | 153 | 162 |
Beispiele css- und html für Elemente in der Farbe #516B72. Bitte benutzen Sie auch rgb(81,107,114) statt hex-Code.
.myTextColor { color: #516B72; }
<p style="color:#516B72">This sample text font color is #516B72.</p>
Die Farbe dieses Textes ist #516B72.
.myBgColor { background-color: #516B72; }
<div style="background-color:#516B72">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516B72.
.myBorderColor { border: 1px solid #516B72; }
<div style="border:3px solid #516B72">Div</div>
Die Grenzen von diesem div sind in Farbe #516B72.
.myOpacity80 { color: #516B72; opacity: 0.8; }
<p style="color:#516B72;opacity:0.8;">80%</p>
Text in Farbe #516B72 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516B72;}
<p style="text-shadow: 3px 3px 1px #516B72">Text here.</p>
Dieser Text hat den Schatten in Farbe #516B72.
.textShadow {text-shadow: 3px 3px 1px #516B72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516B72, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516B72 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516B72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516B72, Direction=45, Strength=4)">Text</p>
This text has shadow with #516B72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516B72; -webkit-box-shadow: 1px 1px 3px 2px #516B72; box-shadow: 1px 1px 3px 2px #516B72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516B72; -webkit-box-shadow: 1px 1px 3px 2px #516B72; box-shadow:1px 1px 3px 2px #516B72;">
Div content here</div>
Dieser Text ist in der Farbe #516B72 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516B72 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516B72.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516B72.