HEX: #8080AB
RGB: (128,128,171)
#8080AB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8080AB ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #8080AB wird in RGB als (128,128,171) definiert.
RGB: (128,128,171) (50%,50%,67%)
R 128 von 255 = 50%
G 128 von 255 = 50%
B 171 von 255 = 67%
R + G + B ~ 56%. #8080AB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
128 + 128 + 171 = 427 (100%)
R 128 von 427 ~ 29.98%
G 128 von 427 ~ 29.98%
B 171 von 427 ~ 40.05%
Die Farbe #8080AB wird in CMYK als (25,25,0,33) definiert.
CMYK: (25,25,0,33) C25M25Y0K33 (25%,25%,0%,33%) (0.25/0.25/0.00/0.33)
80 | 80 | AB | |
---|---|---|---|
RGB | 128 | 128 | 171 |
HSL | 240° | 20.38% | 58.63% |
HSB/HSV | 240° | 25.15% | 67.06% |
CMYK | 25.15% | 25.15% | 0.00% |
32.94% |
Hexadezimal | 80 | 80 | AB |
Dezimal | 128 | 128 | 171 |
Binär | 10000000 | 10000000 | 10101011 |
Oktal | 200 | 200 | 253 |
Beispiele css- und html für Elemente in der Farbe #8080AB. Bitte benutzen Sie auch rgb(128,128,171) statt hex-Code.
.myTextColor { color: #8080AB; }
<p style="color:#8080AB">This sample text font color is #8080AB.</p>
Die Farbe dieses Textes ist #8080AB.
.myBgColor { background-color: #8080AB; }
<div style="background-color:#8080AB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8080AB.
.myBorderColor { border: 1px solid #8080AB; }
<div style="border:3px solid #8080AB">Div</div>
Die Grenzen von diesem div sind in Farbe #8080AB.
.myOpacity80 { color: #8080AB; opacity: 0.8; }
<p style="color:#8080AB;opacity:0.8;">80%</p>
Text in Farbe #8080AB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8080AB;}
<p style="text-shadow: 3px 3px 1px #8080AB">Text here.</p>
Dieser Text hat den Schatten in Farbe #8080AB.
.textShadow {text-shadow: 3px 3px 1px #8080AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8080AB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8080AB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8080AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8080AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8080AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8080AB; -webkit-box-shadow: 1px 1px 3px 2px #8080AB; box-shadow: 1px 1px 3px 2px #8080AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8080AB; -webkit-box-shadow: 1px 1px 3px 2px #8080AB; box-shadow:1px 1px 3px 2px #8080AB;">
Div content here</div>
Dieser Text ist in der Farbe #8080AB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8080AB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8080AB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8080AB.