HEX: #997BA8
RGB: (153,123,168)
#997BA8 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #997BA8 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #997BA8 wird in RGB als (153,123,168) definiert.
RGB: (153,123,168) (60%,48%,66%)
R 153 von 255 = 60%
G 123 von 255 = 48%
B 168 von 255 = 66%
R + G + B ~ 58%. #997BA8 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
153 + 123 + 168 = 444 (100%)
R 153 von 444 ~ 34.46%
G 123 von 444 ~ 27.7%
B 168 von 444 ~ 37.84%
Die Farbe #997BA8 wird in CMYK als (9,27,0,34) definiert.
CMYK: (9,27,0,34) C9M27Y0K34 (9%,27%,0%,34%) (0.09/0.27/0.00/0.34)
99 | 7B | A8 | |
---|---|---|---|
RGB | 153 | 123 | 168 |
HSL | 280° | 20.55% | 57.06% |
HSB/HSV | 280° | 26.79% | 65.88% |
CMYK | 8.93% | 26.79% | 0.00% |
34.12% |
Hexadezimal | 99 | 7B | A8 |
Dezimal | 153 | 123 | 168 |
Binär | 10011001 | 1111011 | 10101000 |
Oktal | 231 | 173 | 250 |
Beispiele css- und html für Elemente in der Farbe #997BA8. Bitte benutzen Sie auch rgb(153,123,168) statt hex-Code.
.myTextColor { color: #997BA8; }
<p style="color:#997BA8">This sample text font color is #997BA8.</p>
Die Farbe dieses Textes ist #997BA8.
.myBgColor { background-color: #997BA8; }
<div style="background-color:#997BA8">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #997BA8.
.myBorderColor { border: 1px solid #997BA8; }
<div style="border:3px solid #997BA8">Div</div>
Die Grenzen von diesem div sind in Farbe #997BA8.
.myOpacity80 { color: #997BA8; opacity: 0.8; }
<p style="color:#997BA8;opacity:0.8;">80%</p>
Text in Farbe #997BA8 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997BA8;}
<p style="text-shadow: 3px 3px 1px #997BA8">Text here.</p>
Dieser Text hat den Schatten in Farbe #997BA8.
.textShadow {text-shadow: 3px 3px 1px #997BA8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997BA8, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #997BA8 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997BA8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997BA8, Direction=45, Strength=4)">Text</p>
This text has shadow with #997BA8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997BA8; -webkit-box-shadow: 1px 1px 3px 2px #997BA8; box-shadow: 1px 1px 3px 2px #997BA8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997BA8; -webkit-box-shadow: 1px 1px 3px 2px #997BA8; box-shadow:1px 1px 3px 2px #997BA8;">
Div content here</div>
Dieser Text ist in der Farbe #997BA8 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #997BA8 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #997BA8.
Dieser Text ist weiß auf dem Hintergrund in Farbe #997BA8.