HEX: #8A799D
RGB: (138,121,157)
#8A799D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A799D ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A799D wird in RGB als (138,121,157) definiert.
RGB: (138,121,157) (54%,47%,62%)
R 138 von 255 = 54%
G 121 von 255 = 47%
B 157 von 255 = 62%
R + G + B ~ 54%. #8A799D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 121 + 157 = 416 (100%)
R 138 von 416 ~ 33.17%
G 121 von 416 ~ 29.09%
B 157 von 416 ~ 37.74%
Die Farbe #8A799D wird in CMYK als (12,23,0,38) definiert.
CMYK: (12,23,0,38) C12M23Y0K38 (12%,23%,0%,38%) (0.12/0.23/0.00/0.38)
8A | 79 | 9D | |
---|---|---|---|
RGB | 138 | 121 | 157 |
HSL | 268° | 15.52% | 54.51% |
HSB/HSV | 268° | 22.93% | 61.57% |
CMYK | 12.10% | 22.93% | 0.00% |
38.43% |
Hexadezimal | 8A | 79 | 9D |
Dezimal | 138 | 121 | 157 |
Binär | 10001010 | 1111001 | 10011101 |
Oktal | 212 | 171 | 235 |
Beispiele css- und html für Elemente in der Farbe #8A799D. Bitte benutzen Sie auch rgb(138,121,157) statt hex-Code.
.myTextColor { color: #8A799D; }
<p style="color:#8A799D">This sample text font color is #8A799D.</p>
Die Farbe dieses Textes ist #8A799D.
.myBgColor { background-color: #8A799D; }
<div style="background-color:#8A799D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A799D.
.myBorderColor { border: 1px solid #8A799D; }
<div style="border:3px solid #8A799D">Div</div>
Die Grenzen von diesem div sind in Farbe #8A799D.
.myOpacity80 { color: #8A799D; opacity: 0.8; }
<p style="color:#8A799D;opacity:0.8;">80%</p>
Text in Farbe #8A799D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A799D;}
<p style="text-shadow: 3px 3px 1px #8A799D">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A799D.
.textShadow {text-shadow: 3px 3px 1px #8A799D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A799D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A799D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A799D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A799D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A799D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A799D; -webkit-box-shadow: 1px 1px 3px 2px #8A799D; box-shadow: 1px 1px 3px 2px #8A799D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A799D; -webkit-box-shadow: 1px 1px 3px 2px #8A799D; box-shadow:1px 1px 3px 2px #8A799D;">
Div content here</div>
Dieser Text ist in der Farbe #8A799D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A799D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A799D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A799D.