HEX: #518972
RGB: (81,137,114)
#518972 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #518972 ist eine «websichere» Webfarbe #669966 (oder kurz #696).
Die Farbe #518972 wird in RGB als (81,137,114) definiert.
RGB: (81,137,114) (32%,54%,45%)
R 81 von 255 = 32%
G 137 von 255 = 54%
B 114 von 255 = 45%
R + G + B ~ 44%. #518972 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 137 + 114 = 332 (100%)
R 81 von 332 ~ 24.4%
G 137 von 332 ~ 41.27%
B 114 von 332 ~ 34.34%
Die Farbe #518972 wird in CMYK als (41,0,17,46) definiert.
CMYK: (41,0,17,46) C41M0Y17K46 (41%,0%,17%,46%) (0.41/0.00/0.17/0.46)
51 | 89 | 72 | |
---|---|---|---|
RGB | 81 | 137 | 114 |
HSL | 155° | 25.69% | 42.75% |
HSB/HSV | 155° | 40.88% | 53.73% |
CMYK | 40.88% | 0.00% | 16.79% |
46.27% |
Hexadezimal | 51 | 89 | 72 |
Dezimal | 81 | 137 | 114 |
Binär | 1010001 | 10001001 | 1110010 |
Oktal | 121 | 211 | 162 |
Beispiele css- und html für Elemente in der Farbe #518972. Bitte benutzen Sie auch rgb(81,137,114) statt hex-Code.
.myTextColor { color: #518972; }
<p style="color:#518972">This sample text font color is #518972.</p>
Die Farbe dieses Textes ist #518972.
.myBgColor { background-color: #518972; }
<div style="background-color:#518972">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #518972.
.myBorderColor { border: 1px solid #518972; }
<div style="border:3px solid #518972">Div</div>
Die Grenzen von diesem div sind in Farbe #518972.
.myOpacity80 { color: #518972; opacity: 0.8; }
<p style="color:#518972;opacity:0.8;">80%</p>
Text in Farbe #518972 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #518972;}
<p style="text-shadow: 3px 3px 1px #518972">Text here.</p>
Dieser Text hat den Schatten in Farbe #518972.
.textShadow {text-shadow: 3px 3px 1px #518972, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #518972, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #518972 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#518972, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#518972, Direction=45, Strength=4)">Text</p>
This text has shadow with #518972 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #518972; -webkit-box-shadow: 1px 1px 3px 2px #518972; box-shadow: 1px 1px 3px 2px #518972; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #518972; -webkit-box-shadow: 1px 1px 3px 2px #518972; box-shadow:1px 1px 3px 2px #518972;">
Div content here</div>
Dieser Text ist in der Farbe #518972 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #518972 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #518972.
Dieser Text ist weiß auf dem Hintergrund in Farbe #518972.