HEX: #AF51A6
RGB: (175,81,166)
#AF51A6 enthält hauptsächlich rote und blaue Farbe. Für #AF51A6 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #AF51A6 wird in RGB als (175,81,166) definiert.
RGB: (175,81,166) (69%,32%,65%)
R 175 von 255 = 69%
G 81 von 255 = 32%
B 166 von 255 = 65%
R + G + B ~ 55%. #AF51A6 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
175 + 81 + 166 = 422 (100%)
R 175 von 422 ~ 41.47%
G 81 von 422 ~ 19.19%
B 166 von 422 ~ 39.34%
Die Farbe #AF51A6 wird in CMYK als (0,54,5,31) definiert.
CMYK: (0,54,5,31) C0M54Y5K31 (0%,54%,5%,31%) (0.00/0.54/0.05/0.31)
AF | 51 | A6 | |
---|---|---|---|
RGB | 175 | 81 | 166 |
HSL | 306° | 37.01% | 50.20% |
HSB/HSV | 306° | 53.71% | 68.63% |
CMYK | 0.00% | 53.71% | 5.14% |
31.37% |
Hexadezimal | AF | 51 | A6 |
Dezimal | 175 | 81 | 166 |
Binär | 10101111 | 1010001 | 10100110 |
Oktal | 257 | 121 | 246 |
Beispiele css- und html für Elemente in der Farbe #AF51A6. Bitte benutzen Sie auch rgb(175,81,166) statt hex-Code.
.myTextColor { color: #AF51A6; }
<p style="color:#AF51A6">This sample text font color is #AF51A6.</p>
Die Farbe dieses Textes ist #AF51A6.
.myBgColor { background-color: #AF51A6; }
<div style="background-color:#AF51A6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AF51A6.
.myBorderColor { border: 1px solid #AF51A6; }
<div style="border:3px solid #AF51A6">Div</div>
Die Grenzen von diesem div sind in Farbe #AF51A6.
.myOpacity80 { color: #AF51A6; opacity: 0.8; }
<p style="color:#AF51A6;opacity:0.8;">80%</p>
Text in Farbe #AF51A6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF51A6;}
<p style="text-shadow: 3px 3px 1px #AF51A6">Text here.</p>
Dieser Text hat den Schatten in Farbe #AF51A6.
.textShadow {text-shadow: 3px 3px 1px #AF51A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF51A6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AF51A6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF51A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF51A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF51A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF51A6; -webkit-box-shadow: 1px 1px 3px 2px #AF51A6; box-shadow: 1px 1px 3px 2px #AF51A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF51A6; -webkit-box-shadow: 1px 1px 3px 2px #AF51A6; box-shadow:1px 1px 3px 2px #AF51A6;">
Div content here</div>
Dieser Text ist in der Farbe #AF51A6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AF51A6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AF51A6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AF51A6.