HEX: #8B7896
RGB: (139,120,150)
#8B7896 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B7896 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B7896 wird in RGB als (139,120,150) definiert.
RGB: (139,120,150) (55%,47%,59%)
R 139 von 255 = 55%
G 120 von 255 = 47%
B 150 von 255 = 59%
R + G + B ~ 54%. #8B7896 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 120 + 150 = 409 (100%)
R 139 von 409 ~ 33.99%
G 120 von 409 ~ 29.34%
B 150 von 409 ~ 36.67%
Die Farbe #8B7896 wird in CMYK als (7,20,0,41) definiert.
CMYK: (7,20,0,41) C7M20Y0K41 (7%,20%,0%,41%) (0.07/0.20/0.00/0.41)
8B | 78 | 96 | |
---|---|---|---|
RGB | 139 | 120 | 150 |
HSL | 278° | 12.50% | 52.94% |
HSB/HSV | 278° | 20.00% | 58.82% |
CMYK | 7.33% | 20.00% | 0.00% |
41.18% |
Hexadezimal | 8B | 78 | 96 |
Dezimal | 139 | 120 | 150 |
Binär | 10001011 | 1111000 | 10010110 |
Oktal | 213 | 170 | 226 |
Beispiele css- und html für Elemente in der Farbe #8B7896. Bitte benutzen Sie auch rgb(139,120,150) statt hex-Code.
.myTextColor { color: #8B7896; }
<p style="color:#8B7896">This sample text font color is #8B7896.</p>
Die Farbe dieses Textes ist #8B7896.
.myBgColor { background-color: #8B7896; }
<div style="background-color:#8B7896">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B7896.
.myBorderColor { border: 1px solid #8B7896; }
<div style="border:3px solid #8B7896">Div</div>
Die Grenzen von diesem div sind in Farbe #8B7896.
.myOpacity80 { color: #8B7896; opacity: 0.8; }
<p style="color:#8B7896;opacity:0.8;">80%</p>
Text in Farbe #8B7896 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B7896;}
<p style="text-shadow: 3px 3px 1px #8B7896">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B7896.
.textShadow {text-shadow: 3px 3px 1px #8B7896, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B7896, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B7896 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B7896, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B7896, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B7896 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B7896; -webkit-box-shadow: 1px 1px 3px 2px #8B7896; box-shadow: 1px 1px 3px 2px #8B7896; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B7896; -webkit-box-shadow: 1px 1px 3px 2px #8B7896; box-shadow:1px 1px 3px 2px #8B7896;">
Div content here</div>
Dieser Text ist in der Farbe #8B7896 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B7896 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B7896.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B7896.