HEX: #897DB1
RGB: (137,125,177)
#897DB1 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #897DB1 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #897DB1 wird in RGB als (137,125,177) definiert.
RGB: (137,125,177) (54%,49%,69%)
R 137 von 255 = 54%
G 125 von 255 = 49%
B 177 von 255 = 69%
R + G + B ~ 57%. #897DB1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
137 + 125 + 177 = 439 (100%)
R 137 von 439 ~ 31.21%
G 125 von 439 ~ 28.47%
B 177 von 439 ~ 40.32%
Die Farbe #897DB1 wird in CMYK als (23,29,0,31) definiert.
CMYK: (23,29,0,31) C23M29Y0K31 (23%,29%,0%,31%) (0.23/0.29/0.00/0.31)
89 | 7D | B1 | |
---|---|---|---|
RGB | 137 | 125 | 177 |
HSL | 254° | 25.00% | 59.22% |
HSB/HSV | 254° | 29.38% | 69.41% |
CMYK | 22.60% | 29.38% | 0.00% |
30.59% |
Hexadezimal | 89 | 7D | B1 |
Dezimal | 137 | 125 | 177 |
Binär | 10001001 | 1111101 | 10110001 |
Oktal | 211 | 175 | 261 |
Beispiele css- und html für Elemente in der Farbe #897DB1. Bitte benutzen Sie auch rgb(137,125,177) statt hex-Code.
.myTextColor { color: #897DB1; }
<p style="color:#897DB1">This sample text font color is #897DB1.</p>
Die Farbe dieses Textes ist #897DB1.
.myBgColor { background-color: #897DB1; }
<div style="background-color:#897DB1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #897DB1.
.myBorderColor { border: 1px solid #897DB1; }
<div style="border:3px solid #897DB1">Div</div>
Die Grenzen von diesem div sind in Farbe #897DB1.
.myOpacity80 { color: #897DB1; opacity: 0.8; }
<p style="color:#897DB1;opacity:0.8;">80%</p>
Text in Farbe #897DB1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #897DB1;}
<p style="text-shadow: 3px 3px 1px #897DB1">Text here.</p>
Dieser Text hat den Schatten in Farbe #897DB1.
.textShadow {text-shadow: 3px 3px 1px #897DB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #897DB1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #897DB1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#897DB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#897DB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #897DB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #897DB1; -webkit-box-shadow: 1px 1px 3px 2px #897DB1; box-shadow: 1px 1px 3px 2px #897DB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #897DB1; -webkit-box-shadow: 1px 1px 3px 2px #897DB1; box-shadow:1px 1px 3px 2px #897DB1;">
Div content here</div>
Dieser Text ist in der Farbe #897DB1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #897DB1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #897DB1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #897DB1.