HEX: #AF87C2
RGB: (175,135,194)
#AF87C2 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #AF87C2 ist eine «websichere» Webfarbe #9999CC (oder kurz #99C).
Die Farbe #AF87C2 wird in RGB als (175,135,194) definiert.
RGB: (175,135,194) (69%,53%,76%)
R 175 von 255 = 69%
G 135 von 255 = 53%
B 194 von 255 = 76%
R + G + B ~ 66%. #AF87C2 ziemlich helle Farbe.
R + G + B =
175 + 135 + 194 = 504 (100%)
R 175 von 504 ~ 34.72%
G 135 von 504 ~ 26.79%
B 194 von 504 ~ 38.49%
Die Farbe #AF87C2 wird in CMYK als (10,30,0,24) definiert.
CMYK: (10,30,0,24) C10M30Y0K24 (10%,30%,0%,24%) (0.10/0.30/0.00/0.24)
AF | 87 | C2 | |
---|---|---|---|
RGB | 175 | 135 | 194 |
HSL | 281° | 32.60% | 64.51% |
HSB/HSV | 281° | 30.41% | 76.08% |
CMYK | 9.79% | 30.41% | 0.00% |
23.92% |
Hexadezimal | AF | 87 | C2 |
Dezimal | 175 | 135 | 194 |
Binär | 10101111 | 10000111 | 11000010 |
Oktal | 257 | 207 | 302 |
Beispiele css- und html für Elemente in der Farbe #AF87C2. Bitte benutzen Sie auch rgb(175,135,194) statt hex-Code.
.myTextColor { color: #AF87C2; }
<p style="color:#AF87C2">This sample text font color is #AF87C2.</p>
Die Farbe dieses Textes ist #AF87C2.
.myBgColor { background-color: #AF87C2; }
<div style="background-color:#AF87C2">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AF87C2.
.myBorderColor { border: 1px solid #AF87C2; }
<div style="border:3px solid #AF87C2">Div</div>
Die Grenzen von diesem div sind in Farbe #AF87C2.
.myOpacity80 { color: #AF87C2; opacity: 0.8; }
<p style="color:#AF87C2;opacity:0.8;">80%</p>
Text in Farbe #AF87C2 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF87C2;}
<p style="text-shadow: 3px 3px 1px #AF87C2">Text here.</p>
Dieser Text hat den Schatten in Farbe #AF87C2.
.textShadow {text-shadow: 3px 3px 1px #AF87C2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF87C2, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AF87C2 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF87C2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF87C2, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF87C2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF87C2; -webkit-box-shadow: 1px 1px 3px 2px #AF87C2; box-shadow: 1px 1px 3px 2px #AF87C2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF87C2; -webkit-box-shadow: 1px 1px 3px 2px #AF87C2; box-shadow:1px 1px 3px 2px #AF87C2;">
Div content here</div>
Dieser Text ist in der Farbe #AF87C2 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AF87C2 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AF87C2.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AF87C2.