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