HEX: #516151
RGB: (81,97,81)
#516151 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #516151 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #516151 wird in RGB als (81,97,81) definiert.
RGB: (81,97,81) (32%,38%,32%)
R 81 von 255 = 32%
G 97 von 255 = 38%
B 81 von 255 = 32%
R + G + B ~ 34%. #516151 ziemlich dunkle Farbe.
R + G + B =
81 + 97 + 81 = 259 (100%)
R 81 von 259 ~ 31.27%
G 97 von 259 ~ 37.45%
B 81 von 259 ~ 31.27%
Die Farbe #516151 wird in CMYK als (16,0,16,62) definiert.
CMYK: (16,0,16,62) C16M0Y16K62 (16%,0%,16%,62%) (0.16/0.00/0.16/0.62)
51 | 61 | 51 | |
---|---|---|---|
RGB | 81 | 97 | 81 |
HSL | 120° | 8.99% | 34.90% |
HSB/HSV | 120° | 16.49% | 38.04% |
CMYK | 16.49% | 0.00% | 16.49% |
61.96% |
Hexadezimal | 51 | 61 | 51 |
Dezimal | 81 | 97 | 81 |
Binär | 1010001 | 1100001 | 1010001 |
Oktal | 121 | 141 | 121 |
Beispiele css- und html für Elemente in der Farbe #516151. Bitte benutzen Sie auch rgb(81,97,81) statt hex-Code.
.myTextColor { color: #516151; }
<p style="color:#516151">This sample text font color is #516151.</p>
Die Farbe dieses Textes ist #516151.
.myBgColor { background-color: #516151; }
<div style="background-color:#516151">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516151.
.myBorderColor { border: 1px solid #516151; }
<div style="border:3px solid #516151">Div</div>
Die Grenzen von diesem div sind in Farbe #516151.
.myOpacity80 { color: #516151; opacity: 0.8; }
<p style="color:#516151;opacity:0.8;">80%</p>
Text in Farbe #516151 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516151;}
<p style="text-shadow: 3px 3px 1px #516151">Text here.</p>
Dieser Text hat den Schatten in Farbe #516151.
.textShadow {text-shadow: 3px 3px 1px #516151, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516151, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516151 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516151, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516151, Direction=45, Strength=4)">Text</p>
This text has shadow with #516151 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516151; -webkit-box-shadow: 1px 1px 3px 2px #516151; box-shadow: 1px 1px 3px 2px #516151; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516151; -webkit-box-shadow: 1px 1px 3px 2px #516151; box-shadow:1px 1px 3px 2px #516151;">
Div content here</div>
Dieser Text ist in der Farbe #516151 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516151 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516151.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516151.