HEX: #516D25
RGB: (81,109,37)
#516D25 enthält hauptsächlich rote und grüne Farbe. Für #516D25 ist eine «websichere» Webfarbe #666633 (oder kurz #663).
Die Farbe #516D25 wird in RGB als (81,109,37) definiert.
RGB: (81,109,37) (32%,43%,15%)
R 81 von 255 = 32%
G 109 von 255 = 43%
B 37 von 255 = 15%
R + G + B ~ 30%. #516D25 ziemlich dunkle Farbe.
R + G + B =
81 + 109 + 37 = 227 (100%)
R 81 von 227 ~ 35.68%
G 109 von 227 ~ 48.02%
B 37 von 227 ~ 16.3%
Die Farbe #516D25 wird in CMYK als (26,0,66,57) definiert.
CMYK: (26,0,66,57) C26M0Y66K57 (26%,0%,66%,57%) (0.26/0.00/0.66/0.57)
51 | 6D | 25 | |
---|---|---|---|
RGB | 81 | 109 | 37 |
HSL | 83° | 49.32% | 28.63% |
HSB/HSV | 83° | 66.06% | 42.75% |
CMYK | 25.69% | 0.00% | 66.06% |
57.25% |
Hexadezimal | 51 | 6D | 25 |
Dezimal | 81 | 109 | 37 |
Binär | 1010001 | 1101101 | 100101 |
Oktal | 121 | 155 | 45 |
Beispiele css- und html für Elemente in der Farbe #516D25. Bitte benutzen Sie auch rgb(81,109,37) statt hex-Code.
.myTextColor { color: #516D25; }
<p style="color:#516D25">This sample text font color is #516D25.</p>
Die Farbe dieses Textes ist #516D25.
.myBgColor { background-color: #516D25; }
<div style="background-color:#516D25">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #516D25.
.myBorderColor { border: 1px solid #516D25; }
<div style="border:3px solid #516D25">Div</div>
Die Grenzen von diesem div sind in Farbe #516D25.
.myOpacity80 { color: #516D25; opacity: 0.8; }
<p style="color:#516D25;opacity:0.8;">80%</p>
Text in Farbe #516D25 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516D25;}
<p style="text-shadow: 3px 3px 1px #516D25">Text here.</p>
Dieser Text hat den Schatten in Farbe #516D25.
.textShadow {text-shadow: 3px 3px 1px #516D25, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516D25, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #516D25 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516D25, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516D25, Direction=45, Strength=4)">Text</p>
This text has shadow with #516D25 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516D25; -webkit-box-shadow: 1px 1px 3px 2px #516D25; box-shadow: 1px 1px 3px 2px #516D25; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516D25; -webkit-box-shadow: 1px 1px 3px 2px #516D25; box-shadow:1px 1px 3px 2px #516D25;">
Div content here</div>
Dieser Text ist in der Farbe #516D25 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #516D25 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #516D25.
Dieser Text ist weiß auf dem Hintergrund in Farbe #516D25.