HEX: #518C39
RGB: (81,140,57)
#518C39 enthält hauptsächlich rote und grüne Farbe. Für #518C39 ist eine «websichere» Webfarbe #669933 (oder kurz #693).
Die Farbe #518C39 wird in RGB als (81,140,57) definiert.
RGB: (81,140,57) (32%,55%,22%)
R 81 von 255 = 32%
G 140 von 255 = 55%
B 57 von 255 = 22%
R + G + B ~ 36%. #518C39 ziemlich dunkle Farbe.
R + G + B =
81 + 140 + 57 = 278 (100%)
R 81 von 278 ~ 29.14%
G 140 von 278 ~ 50.36%
B 57 von 278 ~ 20.5%
Die Farbe #518C39 wird in CMYK als (42,0,59,45) definiert.
CMYK: (42,0,59,45) C42M0Y59K45 (42%,0%,59%,45%) (0.42/0.00/0.59/0.45)
51 | 8C | 39 | |
---|---|---|---|
RGB | 81 | 140 | 57 |
HSL | 103° | 42.13% | 38.63% |
HSB/HSV | 103° | 59.29% | 54.90% |
CMYK | 42.14% | 0.00% | 59.29% |
45.10% |
Hexadezimal | 51 | 8C | 39 |
Dezimal | 81 | 140 | 57 |
Binär | 1010001 | 10001100 | 111001 |
Oktal | 121 | 214 | 71 |
Beispiele css- und html für Elemente in der Farbe #518C39. Bitte benutzen Sie auch rgb(81,140,57) statt hex-Code.
.myTextColor { color: #518C39; }
<p style="color:#518C39">This sample text font color is #518C39.</p>
Die Farbe dieses Textes ist #518C39.
.myBgColor { background-color: #518C39; }
<div style="background-color:#518C39">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #518C39.
.myBorderColor { border: 1px solid #518C39; }
<div style="border:3px solid #518C39">Div</div>
Die Grenzen von diesem div sind in Farbe #518C39.
.myOpacity80 { color: #518C39; opacity: 0.8; }
<p style="color:#518C39;opacity:0.8;">80%</p>
Text in Farbe #518C39 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #518C39;}
<p style="text-shadow: 3px 3px 1px #518C39">Text here.</p>
Dieser Text hat den Schatten in Farbe #518C39.
.textShadow {text-shadow: 3px 3px 1px #518C39, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #518C39, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #518C39 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#518C39, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#518C39, Direction=45, Strength=4)">Text</p>
This text has shadow with #518C39 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #518C39; -webkit-box-shadow: 1px 1px 3px 2px #518C39; box-shadow: 1px 1px 3px 2px #518C39; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #518C39; -webkit-box-shadow: 1px 1px 3px 2px #518C39; box-shadow:1px 1px 3px 2px #518C39;">
Div content here</div>
Dieser Text ist in der Farbe #518C39 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #518C39 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #518C39.
Dieser Text ist weiß auf dem Hintergrund in Farbe #518C39.