HEX: #97B97E
RGB: (151,185,126)
#97B97E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #97B97E ist eine «websichere» Webfarbe #99CC66 (oder kurz #9C6).
Die Farbe #97B97E wird in RGB als (151,185,126) definiert.
RGB: (151,185,126) (59%,73%,49%)
R 151 von 255 = 59%
G 185 von 255 = 73%
B 126 von 255 = 49%
R + G + B ~ 60%. #97B97E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
151 + 185 + 126 = 462 (100%)
R 151 von 462 ~ 32.68%
G 185 von 462 ~ 40.04%
B 126 von 462 ~ 27.27%
Die Farbe #97B97E wird in CMYK als (18,0,32,27) definiert.
CMYK: (18,0,32,27) C18M0Y32K27 (18%,0%,32%,27%) (0.18/0.00/0.32/0.27)
97 | B9 | 7E | |
---|---|---|---|
RGB | 151 | 185 | 126 |
HSL | 95° | 29.65% | 60.98% |
HSB/HSV | 95° | 31.89% | 72.55% |
CMYK | 18.38% | 0.00% | 31.89% |
27.45% |
Hexadezimal | 97 | B9 | 7E |
Dezimal | 151 | 185 | 126 |
Binär | 10010111 | 10111001 | 1111110 |
Oktal | 227 | 271 | 176 |
Beispiele css- und html für Elemente in der Farbe #97B97E. Bitte benutzen Sie auch rgb(151,185,126) statt hex-Code.
.myTextColor { color: #97B97E; }
<p style="color:#97B97E">This sample text font color is #97B97E.</p>
Die Farbe dieses Textes ist #97B97E.
.myBgColor { background-color: #97B97E; }
<div style="background-color:#97B97E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #97B97E.
.myBorderColor { border: 1px solid #97B97E; }
<div style="border:3px solid #97B97E">Div</div>
Die Grenzen von diesem div sind in Farbe #97B97E.
.myOpacity80 { color: #97B97E; opacity: 0.8; }
<p style="color:#97B97E;opacity:0.8;">80%</p>
Text in Farbe #97B97E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #97B97E;}
<p style="text-shadow: 3px 3px 1px #97B97E">Text here.</p>
Dieser Text hat den Schatten in Farbe #97B97E.
.textShadow {text-shadow: 3px 3px 1px #97B97E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #97B97E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #97B97E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#97B97E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#97B97E, Direction=45, Strength=4)">Text</p>
This text has shadow with #97B97E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #97B97E; -webkit-box-shadow: 1px 1px 3px 2px #97B97E; box-shadow: 1px 1px 3px 2px #97B97E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #97B97E; -webkit-box-shadow: 1px 1px 3px 2px #97B97E; box-shadow:1px 1px 3px 2px #97B97E;">
Div content here</div>
Dieser Text ist in der Farbe #97B97E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #97B97E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #97B97E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #97B97E.