HEX: #8C4989
RGB: (140,73,137)
#8C4989 enthält hauptsächlich rote und blaue Farbe. Für #8C4989 ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #8C4989 wird in RGB als (140,73,137) definiert.
RGB: (140,73,137) (55%,29%,54%)
R 140 von 255 = 55%
G 73 von 255 = 29%
B 137 von 255 = 54%
R + G + B ~ 46%. #8C4989 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 73 + 137 = 350 (100%)
R 140 von 350 ~ 40%
G 73 von 350 ~ 20.86%
B 137 von 350 ~ 39.14%
Die Farbe #8C4989 wird in CMYK als (0,48,2,45) definiert.
CMYK: (0,48,2,45) C0M48Y2K45 (0%,48%,2%,45%) (0.00/0.48/0.02/0.45)
8C | 49 | 89 | |
---|---|---|---|
RGB | 140 | 73 | 137 |
HSL | 303° | 31.46% | 41.76% |
HSB/HSV | 303° | 47.86% | 54.90% |
CMYK | 0.00% | 47.86% | 2.14% |
45.10% |
Hexadezimal | 8C | 49 | 89 |
Dezimal | 140 | 73 | 137 |
Binär | 10001100 | 1001001 | 10001001 |
Oktal | 214 | 111 | 211 |
Beispiele css- und html für Elemente in der Farbe #8C4989. Bitte benutzen Sie auch rgb(140,73,137) statt hex-Code.
.myTextColor { color: #8C4989; }
<p style="color:#8C4989">This sample text font color is #8C4989.</p>
Die Farbe dieses Textes ist #8C4989.
.myBgColor { background-color: #8C4989; }
<div style="background-color:#8C4989">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C4989.
.myBorderColor { border: 1px solid #8C4989; }
<div style="border:3px solid #8C4989">Div</div>
Die Grenzen von diesem div sind in Farbe #8C4989.
.myOpacity80 { color: #8C4989; opacity: 0.8; }
<p style="color:#8C4989;opacity:0.8;">80%</p>
Text in Farbe #8C4989 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C4989;}
<p style="text-shadow: 3px 3px 1px #8C4989">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C4989.
.textShadow {text-shadow: 3px 3px 1px #8C4989, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C4989, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C4989 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C4989, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C4989, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C4989 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C4989; -webkit-box-shadow: 1px 1px 3px 2px #8C4989; box-shadow: 1px 1px 3px 2px #8C4989; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C4989; -webkit-box-shadow: 1px 1px 3px 2px #8C4989; box-shadow:1px 1px 3px 2px #8C4989;">
Div content here</div>
Dieser Text ist in der Farbe #8C4989 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C4989 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C4989.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C4989.