HEX: #7F51B1
RGB: (127,81,177)
#7F51B1 enthält hauptsächlich rote und blaue Farbe. Für #7F51B1 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7F51B1 wird in RGB als (127,81,177) definiert.
RGB: (127,81,177) (50%,32%,69%)
R 127 von 255 = 50%
G 81 von 255 = 32%
B 177 von 255 = 69%
R + G + B ~ 50%. #7F51B1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
127 + 81 + 177 = 385 (100%)
R 127 von 385 ~ 32.99%
G 81 von 385 ~ 21.04%
B 177 von 385 ~ 45.97%
Die Farbe #7F51B1 wird in CMYK als (28,54,0,31) definiert.
CMYK: (28,54,0,31) C28M54Y0K31 (28%,54%,0%,31%) (0.28/0.54/0.00/0.31)
7F | 51 | B1 | |
---|---|---|---|
RGB | 127 | 81 | 177 |
HSL | 269° | 38.10% | 50.59% |
HSB/HSV | 269° | 54.24% | 69.41% |
CMYK | 28.25% | 54.24% | 0.00% |
30.59% |
Hexadezimal | 7F | 51 | B1 |
Dezimal | 127 | 81 | 177 |
Binär | 1111111 | 1010001 | 10110001 |
Oktal | 177 | 121 | 261 |
Beispiele css- und html für Elemente in der Farbe #7F51B1. Bitte benutzen Sie auch rgb(127,81,177) statt hex-Code.
.myTextColor { color: #7F51B1; }
<p style="color:#7F51B1">This sample text font color is #7F51B1.</p>
Die Farbe dieses Textes ist #7F51B1.
.myBgColor { background-color: #7F51B1; }
<div style="background-color:#7F51B1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F51B1.
.myBorderColor { border: 1px solid #7F51B1; }
<div style="border:3px solid #7F51B1">Div</div>
Die Grenzen von diesem div sind in Farbe #7F51B1.
.myOpacity80 { color: #7F51B1; opacity: 0.8; }
<p style="color:#7F51B1;opacity:0.8;">80%</p>
Text in Farbe #7F51B1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F51B1;}
<p style="text-shadow: 3px 3px 1px #7F51B1">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F51B1.
.textShadow {text-shadow: 3px 3px 1px #7F51B1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F51B1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F51B1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F51B1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F51B1, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F51B1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F51B1; -webkit-box-shadow: 1px 1px 3px 2px #7F51B1; box-shadow: 1px 1px 3px 2px #7F51B1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F51B1; -webkit-box-shadow: 1px 1px 3px 2px #7F51B1; box-shadow:1px 1px 3px 2px #7F51B1;">
Div content here</div>
Dieser Text ist in der Farbe #7F51B1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F51B1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F51B1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F51B1.