HEX: #AF7B9E
RGB: (175,123,158)
#AF7B9E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #AF7B9E ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #AF7B9E wird in RGB als (175,123,158) definiert.
RGB: (175,123,158) (69%,48%,62%)
R 175 von 255 = 69%
G 123 von 255 = 48%
B 158 von 255 = 62%
R + G + B ~ 60%. #AF7B9E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
175 + 123 + 158 = 456 (100%)
R 175 von 456 ~ 38.38%
G 123 von 456 ~ 26.97%
B 158 von 456 ~ 34.65%
Die Farbe #AF7B9E wird in CMYK als (0,30,10,31) definiert.
CMYK: (0,30,10,31) C0M30Y10K31 (0%,30%,10%,31%) (0.00/0.30/0.10/0.31)
AF | 7B | 9E | |
---|---|---|---|
RGB | 175 | 123 | 158 |
HSL | 320° | 24.53% | 58.43% |
HSB/HSV | 320° | 29.71% | 68.63% |
CMYK | 0.00% | 29.71% | 9.71% |
31.37% |
Hexadezimal | AF | 7B | 9E |
Dezimal | 175 | 123 | 158 |
Binär | 10101111 | 1111011 | 10011110 |
Oktal | 257 | 173 | 236 |
Beispiele css- und html für Elemente in der Farbe #AF7B9E. Bitte benutzen Sie auch rgb(175,123,158) statt hex-Code.
.myTextColor { color: #AF7B9E; }
<p style="color:#AF7B9E">This sample text font color is #AF7B9E.</p>
Die Farbe dieses Textes ist #AF7B9E.
.myBgColor { background-color: #AF7B9E; }
<div style="background-color:#AF7B9E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AF7B9E.
.myBorderColor { border: 1px solid #AF7B9E; }
<div style="border:3px solid #AF7B9E">Div</div>
Die Grenzen von diesem div sind in Farbe #AF7B9E.
.myOpacity80 { color: #AF7B9E; opacity: 0.8; }
<p style="color:#AF7B9E;opacity:0.8;">80%</p>
Text in Farbe #AF7B9E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7B9E;}
<p style="text-shadow: 3px 3px 1px #AF7B9E">Text here.</p>
Dieser Text hat den Schatten in Farbe #AF7B9E.
.textShadow {text-shadow: 3px 3px 1px #AF7B9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7B9E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AF7B9E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7B9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7B9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7B9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7B9E; -webkit-box-shadow: 1px 1px 3px 2px #AF7B9E; box-shadow: 1px 1px 3px 2px #AF7B9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7B9E; -webkit-box-shadow: 1px 1px 3px 2px #AF7B9E; box-shadow:1px 1px 3px 2px #AF7B9E;">
Div content here</div>
Dieser Text ist in der Farbe #AF7B9E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AF7B9E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AF7B9E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AF7B9E.