HEX: #AF787E
RGB: (175,120,126)
#AF787E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #AF787E ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #AF787E wird in RGB als (175,120,126) definiert.
RGB: (175,120,126) (69%,47%,49%)
R 175 von 255 = 69%
G 120 von 255 = 47%
B 126 von 255 = 49%
R + G + B ~ 55%. #AF787E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
175 + 120 + 126 = 421 (100%)
R 175 von 421 ~ 41.57%
G 120 von 421 ~ 28.5%
B 126 von 421 ~ 29.93%
Die Farbe #AF787E wird in CMYK als (0,31,28,31) definiert.
CMYK: (0,31,28,31) C0M31Y28K31 (0%,31%,28%,31%) (0.00/0.31/0.28/0.31)
AF | 78 | 7E | |
---|---|---|---|
RGB | 175 | 120 | 126 |
HSL | 353° | 25.58% | 57.84% |
HSB/HSV | 353° | 31.43% | 68.63% |
CMYK | 0.00% | 31.43% | 28.00% |
31.37% |
Hexadezimal | AF | 78 | 7E |
Dezimal | 175 | 120 | 126 |
Binär | 10101111 | 1111000 | 1111110 |
Oktal | 257 | 170 | 176 |
Beispiele css- und html für Elemente in der Farbe #AF787E. Bitte benutzen Sie auch rgb(175,120,126) statt hex-Code.
.myTextColor { color: #AF787E; }
<p style="color:#AF787E">This sample text font color is #AF787E.</p>
Die Farbe dieses Textes ist #AF787E.
.myBgColor { background-color: #AF787E; }
<div style="background-color:#AF787E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AF787E.
.myBorderColor { border: 1px solid #AF787E; }
<div style="border:3px solid #AF787E">Div</div>
Die Grenzen von diesem div sind in Farbe #AF787E.
.myOpacity80 { color: #AF787E; opacity: 0.8; }
<p style="color:#AF787E;opacity:0.8;">80%</p>
Text in Farbe #AF787E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF787E;}
<p style="text-shadow: 3px 3px 1px #AF787E">Text here.</p>
Dieser Text hat den Schatten in Farbe #AF787E.
.textShadow {text-shadow: 3px 3px 1px #AF787E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF787E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AF787E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF787E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF787E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF787E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF787E; -webkit-box-shadow: 1px 1px 3px 2px #AF787E; box-shadow: 1px 1px 3px 2px #AF787E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF787E; -webkit-box-shadow: 1px 1px 3px 2px #AF787E; box-shadow:1px 1px 3px 2px #AF787E;">
Div content here</div>
Dieser Text ist in der Farbe #AF787E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AF787E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AF787E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AF787E.