HEX: #516B7A
RGB: (81,107,122)
#516B7A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #516B7A ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #516B7A wird in RGB als (81,107,122) definiert.
RGB: (81,107,122) (32%,42%,48%)
R 81 von 255 = 32%
G 107 von 255 = 42%
B 122 von 255 = 48%
R + G + B ~ 41%. #516B7A mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 107 + 122 = 310 (100%)
R 81 von 310 ~ 26.13%
G 107 von 310 ~ 34.52%
B 122 von 310 ~ 39.35%
Die Farbe #516B7A wird in CMYK als (34,12,0,52) definiert.
CMYK: (34,12,0,52) C34M12Y0K52 (34%,12%,0%,52%) (0.34/0.12/0.00/0.52)
51 | 6B | 7A | |
---|---|---|---|
RGB | 81 | 107 | 122 |
HSL | 202° | 20.20% | 39.80% |
HSB/HSV | 202° | 33.61% | 47.84% |
CMYK | 33.61% | 12.30% | 0.00% |
52.16% |
Hexadezimal | 51 | 6B | 7A |
Dezimal | 81 | 107 | 122 |
Binär | 1010001 | 1101011 | 1111010 |
Oktal | 121 | 153 | 172 |
Beispiele css- und html für Elemente in der Farbe #516B7A. Bitte benutzen Sie auch rgb(81,107,122) statt hex-Code.
.myTextColor { color: #516B7A; }
<p style="color:#516B7A">This sample text font color is #516B7A.</p>
Die Farbe dieses Textes ist #516B7A.
.myBgColor { background-color: #516B7A; }
<div style="background-color:#516B7A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516B7A.
.myBorderColor { border: 1px solid #516B7A; }
<div style="border:3px solid #516B7A">Div</div>
Die Grenzen von diesem div sind in Farbe #516B7A.
.myOpacity80 { color: #516B7A; opacity: 0.8; }
<p style="color:#516B7A;opacity:0.8;">80%</p>
Text in Farbe #516B7A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516B7A;}
<p style="text-shadow: 3px 3px 1px #516B7A">Text here.</p>
Dieser Text hat den Schatten in Farbe #516B7A.
.textShadow {text-shadow: 3px 3px 1px #516B7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516B7A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516B7A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516B7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516B7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #516B7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516B7A; -webkit-box-shadow: 1px 1px 3px 2px #516B7A; box-shadow: 1px 1px 3px 2px #516B7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516B7A; -webkit-box-shadow: 1px 1px 3px 2px #516B7A; box-shadow:1px 1px 3px 2px #516B7A;">
Div content here</div>
Dieser Text ist in der Farbe #516B7A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516B7A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516B7A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516B7A.