HEX: #7F52AA
RGB: (127,82,170)
#7F52AA enthält hauptsächlich rote und blaue Farbe. Für #7F52AA ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7F52AA wird in RGB als (127,82,170) definiert.
RGB: (127,82,170) (50%,32%,67%)
R 127 von 255 = 50%
G 82 von 255 = 32%
B 170 von 255 = 67%
R + G + B ~ 50%. #7F52AA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
127 + 82 + 170 = 379 (100%)
R 127 von 379 ~ 33.51%
G 82 von 379 ~ 21.64%
B 170 von 379 ~ 44.85%
Die Farbe #7F52AA wird in CMYK als (25,52,0,33) definiert.
CMYK: (25,52,0,33) C25M52Y0K33 (25%,52%,0%,33%) (0.25/0.52/0.00/0.33)
7F | 52 | AA | |
---|---|---|---|
RGB | 127 | 82 | 170 |
HSL | 271° | 34.92% | 49.41% |
HSB/HSV | 271° | 51.76% | 66.67% |
CMYK | 25.29% | 51.76% | 0.00% |
33.33% |
Hexadezimal | 7F | 52 | AA |
Dezimal | 127 | 82 | 170 |
Binär | 1111111 | 1010010 | 10101010 |
Oktal | 177 | 122 | 252 |
Beispiele css- und html für Elemente in der Farbe #7F52AA. Bitte benutzen Sie auch rgb(127,82,170) statt hex-Code.
.myTextColor { color: #7F52AA; }
<p style="color:#7F52AA">This sample text font color is #7F52AA.</p>
Die Farbe dieses Textes ist #7F52AA.
.myBgColor { background-color: #7F52AA; }
<div style="background-color:#7F52AA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F52AA.
.myBorderColor { border: 1px solid #7F52AA; }
<div style="border:3px solid #7F52AA">Div</div>
Die Grenzen von diesem div sind in Farbe #7F52AA.
.myOpacity80 { color: #7F52AA; opacity: 0.8; }
<p style="color:#7F52AA;opacity:0.8;">80%</p>
Text in Farbe #7F52AA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F52AA;}
<p style="text-shadow: 3px 3px 1px #7F52AA">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F52AA.
.textShadow {text-shadow: 3px 3px 1px #7F52AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F52AA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F52AA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F52AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F52AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F52AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F52AA; -webkit-box-shadow: 1px 1px 3px 2px #7F52AA; box-shadow: 1px 1px 3px 2px #7F52AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F52AA; -webkit-box-shadow: 1px 1px 3px 2px #7F52AA; box-shadow:1px 1px 3px 2px #7F52AA;">
Div content here</div>
Dieser Text ist in der Farbe #7F52AA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F52AA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F52AA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F52AA.