HEX: #7C4DB2
RGB: (124,77,178)
#7C4DB2 enthält hauptsächlich rote und blaue Farbe. Für #7C4DB2 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #7C4DB2 wird in RGB als (124,77,178) definiert.
RGB: (124,77,178) (49%,30%,70%)
R 124 von 255 = 49%
G 77 von 255 = 30%
B 178 von 255 = 70%
R + G + B ~ 50%. #7C4DB2 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
124 + 77 + 178 = 379 (100%)
R 124 von 379 ~ 32.72%
G 77 von 379 ~ 20.32%
B 178 von 379 ~ 46.97%
Die Farbe #7C4DB2 wird in CMYK als (30,57,0,30) definiert.
CMYK: (30,57,0,30) C30M57Y0K30 (30%,57%,0%,30%) (0.30/0.57/0.00/0.30)
7C | 4D | B2 | |
---|---|---|---|
RGB | 124 | 77 | 178 |
HSL | 268° | 39.61% | 50.00% |
HSB/HSV | 268° | 56.74% | 69.80% |
CMYK | 30.34% | 56.74% | 0.00% |
30.20% |
Hexadezimal | 7C | 4D | B2 |
Dezimal | 124 | 77 | 178 |
Binär | 1111100 | 1001101 | 10110010 |
Oktal | 174 | 115 | 262 |
Beispiele css- und html für Elemente in der Farbe #7C4DB2. Bitte benutzen Sie auch rgb(124,77,178) statt hex-Code.
.myTextColor { color: #7C4DB2; }
<p style="color:#7C4DB2">This sample text font color is #7C4DB2.</p>
Die Farbe dieses Textes ist #7C4DB2.
.myBgColor { background-color: #7C4DB2; }
<div style="background-color:#7C4DB2">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7C4DB2.
.myBorderColor { border: 1px solid #7C4DB2; }
<div style="border:3px solid #7C4DB2">Div</div>
Die Grenzen von diesem div sind in Farbe #7C4DB2.
.myOpacity80 { color: #7C4DB2; opacity: 0.8; }
<p style="color:#7C4DB2;opacity:0.8;">80%</p>
Text in Farbe #7C4DB2 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C4DB2;}
<p style="text-shadow: 3px 3px 1px #7C4DB2">Text here.</p>
Dieser Text hat den Schatten in Farbe #7C4DB2.
.textShadow {text-shadow: 3px 3px 1px #7C4DB2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C4DB2, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7C4DB2 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C4DB2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C4DB2, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C4DB2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C4DB2; -webkit-box-shadow: 1px 1px 3px 2px #7C4DB2; box-shadow: 1px 1px 3px 2px #7C4DB2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C4DB2; -webkit-box-shadow: 1px 1px 3px 2px #7C4DB2; box-shadow:1px 1px 3px 2px #7C4DB2;">
Div content here</div>
Dieser Text ist in der Farbe #7C4DB2 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7C4DB2 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7C4DB2.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7C4DB2.