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