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