HEX: #8A7DB6
RGB: (138,125,182)
#8A7DB6 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A7DB6 ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #8A7DB6 wird in RGB als (138,125,182) definiert.
RGB: (138,125,182) (54%,49%,71%)
R 138 von 255 = 54%
G 125 von 255 = 49%
B 182 von 255 = 71%
R + G + B ~ 58%. #8A7DB6 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 125 + 182 = 445 (100%)
R 138 von 445 ~ 31.01%
G 125 von 445 ~ 28.09%
B 182 von 445 ~ 40.9%
Die Farbe #8A7DB6 wird in CMYK als (24,31,0,29) definiert.
CMYK: (24,31,0,29) C24M31Y0K29 (24%,31%,0%,29%) (0.24/0.31/0.00/0.29)
8A | 7D | B6 | |
---|---|---|---|
RGB | 138 | 125 | 182 |
HSL | 254° | 28.08% | 60.20% |
HSB/HSV | 254° | 31.32% | 71.37% |
CMYK | 24.18% | 31.32% | 0.00% |
28.63% |
Hexadezimal | 8A | 7D | B6 |
Dezimal | 138 | 125 | 182 |
Binär | 10001010 | 1111101 | 10110110 |
Oktal | 212 | 175 | 266 |
Beispiele css- und html für Elemente in der Farbe #8A7DB6. Bitte benutzen Sie auch rgb(138,125,182) statt hex-Code.
.myTextColor { color: #8A7DB6; }
<p style="color:#8A7DB6">This sample text font color is #8A7DB6.</p>
Die Farbe dieses Textes ist #8A7DB6.
.myBgColor { background-color: #8A7DB6; }
<div style="background-color:#8A7DB6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A7DB6.
.myBorderColor { border: 1px solid #8A7DB6; }
<div style="border:3px solid #8A7DB6">Div</div>
Die Grenzen von diesem div sind in Farbe #8A7DB6.
.myOpacity80 { color: #8A7DB6; opacity: 0.8; }
<p style="color:#8A7DB6;opacity:0.8;">80%</p>
Text in Farbe #8A7DB6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A7DB6;}
<p style="text-shadow: 3px 3px 1px #8A7DB6">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A7DB6.
.textShadow {text-shadow: 3px 3px 1px #8A7DB6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A7DB6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A7DB6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A7DB6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A7DB6, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A7DB6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A7DB6; -webkit-box-shadow: 1px 1px 3px 2px #8A7DB6; box-shadow: 1px 1px 3px 2px #8A7DB6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A7DB6; -webkit-box-shadow: 1px 1px 3px 2px #8A7DB6; box-shadow:1px 1px 3px 2px #8A7DB6;">
Div content here</div>
Dieser Text ist in der Farbe #8A7DB6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A7DB6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A7DB6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A7DB6.