HEX: #A57F9B
RGB: (165,127,155)
#A57F9B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #A57F9B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #A57F9B wird in RGB als (165,127,155) definiert.
RGB: (165,127,155) (65%,50%,61%)
R 165 von 255 = 65%
G 127 von 255 = 50%
B 155 von 255 = 61%
R + G + B ~ 59%. #A57F9B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
165 + 127 + 155 = 447 (100%)
R 165 von 447 ~ 36.91%
G 127 von 447 ~ 28.41%
B 155 von 447 ~ 34.68%
Die Farbe #A57F9B wird in CMYK als (0,23,6,35) definiert.
CMYK: (0,23,6,35) C0M23Y6K35 (0%,23%,6%,35%) (0.00/0.23/0.06/0.35)
A5 | 7F | 9B | |
---|---|---|---|
RGB | 165 | 127 | 155 |
HSL | 316° | 17.43% | 57.25% |
HSB/HSV | 316° | 23.03% | 64.71% |
CMYK | 0.00% | 23.03% | 6.06% |
35.29% |
Hexadezimal | A5 | 7F | 9B |
Dezimal | 165 | 127 | 155 |
Binär | 10100101 | 1111111 | 10011011 |
Oktal | 245 | 177 | 233 |
Beispiele css- und html für Elemente in der Farbe #A57F9B. Bitte benutzen Sie auch rgb(165,127,155) statt hex-Code.
.myTextColor { color: #A57F9B; }
<p style="color:#A57F9B">This sample text font color is #A57F9B.</p>
Die Farbe dieses Textes ist #A57F9B.
.myBgColor { background-color: #A57F9B; }
<div style="background-color:#A57F9B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #A57F9B.
.myBorderColor { border: 1px solid #A57F9B; }
<div style="border:3px solid #A57F9B">Div</div>
Die Grenzen von diesem div sind in Farbe #A57F9B.
.myOpacity80 { color: #A57F9B; opacity: 0.8; }
<p style="color:#A57F9B;opacity:0.8;">80%</p>
Text in Farbe #A57F9B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A57F9B;}
<p style="text-shadow: 3px 3px 1px #A57F9B">Text here.</p>
Dieser Text hat den Schatten in Farbe #A57F9B.
.textShadow {text-shadow: 3px 3px 1px #A57F9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A57F9B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #A57F9B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A57F9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A57F9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A57F9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A57F9B; -webkit-box-shadow: 1px 1px 3px 2px #A57F9B; box-shadow: 1px 1px 3px 2px #A57F9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A57F9B; -webkit-box-shadow: 1px 1px 3px 2px #A57F9B; box-shadow:1px 1px 3px 2px #A57F9B;">
Div content here</div>
Dieser Text ist in der Farbe #A57F9B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #A57F9B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #A57F9B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #A57F9B.