HEX: #A6728E
RGB: (166,114,142)
#A6728E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #A6728E ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #A6728E wird in RGB als (166,114,142) definiert.
RGB: (166,114,142) (65%,45%,56%)
R 166 von 255 = 65%
G 114 von 255 = 45%
B 142 von 255 = 56%
R + G + B ~ 55%. #A6728E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
166 + 114 + 142 = 422 (100%)
R 166 von 422 ~ 39.34%
G 114 von 422 ~ 27.01%
B 142 von 422 ~ 33.65%
Die Farbe #A6728E wird in CMYK als (0,31,14,35) definiert.
CMYK: (0,31,14,35) C0M31Y14K35 (0%,31%,14%,35%) (0.00/0.31/0.14/0.35)
A6 | 72 | 8E | |
---|---|---|---|
RGB | 166 | 114 | 142 |
HSL | 328° | 22.61% | 54.90% |
HSB/HSV | 328° | 31.33% | 65.10% |
CMYK | 0.00% | 31.33% | 14.46% |
34.90% |
Hexadezimal | A6 | 72 | 8E |
Dezimal | 166 | 114 | 142 |
Binär | 10100110 | 1110010 | 10001110 |
Oktal | 246 | 162 | 216 |
Beispiele css- und html für Elemente in der Farbe #A6728E. Bitte benutzen Sie auch rgb(166,114,142) statt hex-Code.
.myTextColor { color: #A6728E; }
<p style="color:#A6728E">This sample text font color is #A6728E.</p>
Die Farbe dieses Textes ist #A6728E.
.myBgColor { background-color: #A6728E; }
<div style="background-color:#A6728E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #A6728E.
.myBorderColor { border: 1px solid #A6728E; }
<div style="border:3px solid #A6728E">Div</div>
Die Grenzen von diesem div sind in Farbe #A6728E.
.myOpacity80 { color: #A6728E; opacity: 0.8; }
<p style="color:#A6728E;opacity:0.8;">80%</p>
Text in Farbe #A6728E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6728E;}
<p style="text-shadow: 3px 3px 1px #A6728E">Text here.</p>
Dieser Text hat den Schatten in Farbe #A6728E.
.textShadow {text-shadow: 3px 3px 1px #A6728E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6728E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #A6728E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6728E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6728E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6728E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6728E; -webkit-box-shadow: 1px 1px 3px 2px #A6728E; box-shadow: 1px 1px 3px 2px #A6728E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6728E; -webkit-box-shadow: 1px 1px 3px 2px #A6728E; box-shadow:1px 1px 3px 2px #A6728E;">
Div content here</div>
Dieser Text ist in der Farbe #A6728E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #A6728E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #A6728E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #A6728E.