HEX: #997D8E
RGB: (153,125,142)
#997D8E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #997D8E ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #997D8E wird in RGB als (153,125,142) definiert.
RGB: (153,125,142) (60%,49%,56%)
R 153 von 255 = 60%
G 125 von 255 = 49%
B 142 von 255 = 56%
R + G + B ~ 55%. #997D8E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
153 + 125 + 142 = 420 (100%)
R 153 von 420 ~ 36.43%
G 125 von 420 ~ 29.76%
B 142 von 420 ~ 33.81%
Die Farbe #997D8E wird in CMYK als (0,18,7,40) definiert.
CMYK: (0,18,7,40) C0M18Y7K40 (0%,18%,7%,40%) (0.00/0.18/0.07/0.40)
99 | 7D | 8E | |
---|---|---|---|
RGB | 153 | 125 | 142 |
HSL | 324° | 12.07% | 54.51% |
HSB/HSV | 324° | 18.30% | 60.00% |
CMYK | 0.00% | 18.30% | 7.19% |
40.00% |
Hexadezimal | 99 | 7D | 8E |
Dezimal | 153 | 125 | 142 |
Binär | 10011001 | 1111101 | 10001110 |
Oktal | 231 | 175 | 216 |
Beispiele css- und html für Elemente in der Farbe #997D8E. Bitte benutzen Sie auch rgb(153,125,142) statt hex-Code.
.myTextColor { color: #997D8E; }
<p style="color:#997D8E">This sample text font color is #997D8E.</p>
Die Farbe dieses Textes ist #997D8E.
.myBgColor { background-color: #997D8E; }
<div style="background-color:#997D8E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #997D8E.
.myBorderColor { border: 1px solid #997D8E; }
<div style="border:3px solid #997D8E">Div</div>
Die Grenzen von diesem div sind in Farbe #997D8E.
.myOpacity80 { color: #997D8E; opacity: 0.8; }
<p style="color:#997D8E;opacity:0.8;">80%</p>
Text in Farbe #997D8E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997D8E;}
<p style="text-shadow: 3px 3px 1px #997D8E">Text here.</p>
Dieser Text hat den Schatten in Farbe #997D8E.
.textShadow {text-shadow: 3px 3px 1px #997D8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997D8E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #997D8E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997D8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997D8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #997D8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997D8E; -webkit-box-shadow: 1px 1px 3px 2px #997D8E; box-shadow: 1px 1px 3px 2px #997D8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997D8E; -webkit-box-shadow: 1px 1px 3px 2px #997D8E; box-shadow:1px 1px 3px 2px #997D8E;">
Div content here</div>
Dieser Text ist in der Farbe #997D8E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #997D8E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #997D8E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #997D8E.