HEX: #7A4AB1
RGB: (122,74,177)
#7A4AB1 enthält hauptsächlich rote und blaue Farbe. Für #7A4AB1 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #7A4AB1 wird in RGB als (122,74,177) definiert.
RGB: (122,74,177) (48%,29%,69%)
R 122 von 255 = 48%
G 74 von 255 = 29%
B 177 von 255 = 69%
R + G + B ~ 49%. #7A4AB1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
122 + 74 + 177 = 373 (100%)
R 122 von 373 ~ 32.71%
G 74 von 373 ~ 19.84%
B 177 von 373 ~ 47.45%
Die Farbe #7A4AB1 wird in CMYK als (31,58,0,31) definiert.
CMYK: (31,58,0,31) C31M58Y0K31 (31%,58%,0%,31%) (0.31/0.58/0.00/0.31)
7A | 4A | B1 | |
---|---|---|---|
RGB | 122 | 74 | 177 |
HSL | 268° | 41.04% | 49.22% |
HSB/HSV | 268° | 58.19% | 69.41% |
CMYK | 31.07% | 58.19% | 0.00% |
30.59% |
Hexadezimal | 7A | 4A | B1 |
Dezimal | 122 | 74 | 177 |
Binär | 1111010 | 1001010 | 10110001 |
Oktal | 172 | 112 | 261 |
Beispiele css- und html für Elemente in der Farbe #7A4AB1. Bitte benutzen Sie auch rgb(122,74,177) statt hex-Code.
.myTextColor { color: #7A4AB1; }
<p style="color:#7A4AB1">This sample text font color is #7A4AB1.</p>
Die Farbe dieses Textes ist #7A4AB1.
.myBgColor { background-color: #7A4AB1; }
<div style="background-color:#7A4AB1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7A4AB1.
.myBorderColor { border: 1px solid #7A4AB1; }
<div style="border:3px solid #7A4AB1">Div</div>
Die Grenzen von diesem div sind in Farbe #7A4AB1.
.myOpacity80 { color: #7A4AB1; opacity: 0.8; }
<p style="color:#7A4AB1;opacity:0.8;">80%</p>
Text in Farbe #7A4AB1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A4AB1;}
<p style="text-shadow: 3px 3px 1px #7A4AB1">Text here.</p>
Dieser Text hat den Schatten in Farbe #7A4AB1.
.textShadow {text-shadow: 3px 3px 1px #7A4AB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A4AB1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7A4AB1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A4AB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A4AB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A4AB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A4AB1; -webkit-box-shadow: 1px 1px 3px 2px #7A4AB1; box-shadow: 1px 1px 3px 2px #7A4AB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A4AB1; -webkit-box-shadow: 1px 1px 3px 2px #7A4AB1; box-shadow:1px 1px 3px 2px #7A4AB1;">
Div content here</div>
Dieser Text ist in der Farbe #7A4AB1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7A4AB1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7A4AB1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7A4AB1.