HEX: #7A04B5
RGB: (122,4,181)
#7A04B5 enthält hauptsächlich rote und blaue Farbe. Für #7A04B5 ist eine «websichere» Webfarbe #6600CC (oder kurz #60C).
Die Farbe #7A04B5 wird in RGB als (122,4,181) definiert.
RGB: (122,4,181) (48%,2%,71%)
R 122 von 255 = 48%
G 4 von 255 = 2%
B 181 von 255 = 71%
R + G + B ~ 40%. #7A04B5 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
122 + 4 + 181 = 307 (100%)
R 122 von 307 ~ 39.74%
G 4 von 307 ~ 1.3%
B 181 von 307 ~ 58.96%
Die Farbe #7A04B5 wird in CMYK als (33,98,0,29) definiert.
CMYK: (33,98,0,29) C33M98Y0K29 (33%,98%,0%,29%) (0.33/0.98/0.00/0.29)
7A | 04 | B5 | |
---|---|---|---|
RGB | 122 | 4 | 181 |
HSL | 280° | 95.68% | 36.27% |
HSB/HSV | 280° | 97.79% | 70.98% |
CMYK | 32.60% | 97.79% | 0.00% |
29.02% |
Hexadezimal | 7A | 04 | B5 |
Dezimal | 122 | 4 | 181 |
Binär | 1111010 | 100 | 10110101 |
Oktal | 172 | 4 | 265 |
Beispiele css- und html für Elemente in der Farbe #7A04B5. Bitte benutzen Sie auch rgb(122,4,181) statt hex-Code.
.myTextColor { color: #7A04B5; }
<p style="color:#7A04B5">This sample text font color is #7A04B5.</p>
Die Farbe dieses Textes ist #7A04B5.
.myBgColor { background-color: #7A04B5; }
<div style="background-color:#7A04B5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7A04B5.
.myBorderColor { border: 1px solid #7A04B5; }
<div style="border:3px solid #7A04B5">Div</div>
Die Grenzen von diesem div sind in Farbe #7A04B5.
.myOpacity80 { color: #7A04B5; opacity: 0.8; }
<p style="color:#7A04B5;opacity:0.8;">80%</p>
Text in Farbe #7A04B5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A04B5;}
<p style="text-shadow: 3px 3px 1px #7A04B5">Text here.</p>
Dieser Text hat den Schatten in Farbe #7A04B5.
.textShadow {text-shadow: 3px 3px 1px #7A04B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A04B5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7A04B5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A04B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A04B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A04B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A04B5; -webkit-box-shadow: 1px 1px 3px 2px #7A04B5; box-shadow: 1px 1px 3px 2px #7A04B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A04B5; -webkit-box-shadow: 1px 1px 3px 2px #7A04B5; box-shadow:1px 1px 3px 2px #7A04B5;">
Div content here</div>
Dieser Text ist in der Farbe #7A04B5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7A04B5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7A04B5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7A04B5.