HEX: #6A48AC
RGB: (106,72,172)
#6A48AC enthält hauptsächlich blaue Farbe. Für #6A48AC ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #6A48AC wird in RGB als (106,72,172) definiert.
RGB: (106,72,172) (42%,28%,67%)
R 106 von 255 = 42%
G 72 von 255 = 28%
B 172 von 255 = 67%
R + G + B ~ 46%. #6A48AC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
106 + 72 + 172 = 350 (100%)
R 106 von 350 ~ 30.29%
G 72 von 350 ~ 20.57%
B 172 von 350 ~ 49.14%
Die Farbe #6A48AC wird in CMYK als (38,58,0,33) definiert.
CMYK: (38,58,0,33) C38M58Y0K33 (38%,58%,0%,33%) (0.38/0.58/0.00/0.33)
6A | 48 | AC | |
---|---|---|---|
RGB | 106 | 72 | 172 |
HSL | 260° | 40.98% | 47.84% |
HSB/HSV | 260° | 58.14% | 67.45% |
CMYK | 38.37% | 58.14% | 0.00% |
32.55% |
Hexadezimal | 6A | 48 | AC |
Dezimal | 106 | 72 | 172 |
Binär | 1101010 | 1001000 | 10101100 |
Oktal | 152 | 110 | 254 |
Beispiele css- und html für Elemente in der Farbe #6A48AC. Bitte benutzen Sie auch rgb(106,72,172) statt hex-Code.
.myTextColor { color: #6A48AC; }
<p style="color:#6A48AC">This sample text font color is #6A48AC.</p>
Die Farbe dieses Textes ist #6A48AC.
.myBgColor { background-color: #6A48AC; }
<div style="background-color:#6A48AC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6A48AC.
.myBorderColor { border: 1px solid #6A48AC; }
<div style="border:3px solid #6A48AC">Div</div>
Die Grenzen von diesem div sind in Farbe #6A48AC.
.myOpacity80 { color: #6A48AC; opacity: 0.8; }
<p style="color:#6A48AC;opacity:0.8;">80%</p>
Text in Farbe #6A48AC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A48AC;}
<p style="text-shadow: 3px 3px 1px #6A48AC">Text here.</p>
Dieser Text hat den Schatten in Farbe #6A48AC.
.textShadow {text-shadow: 3px 3px 1px #6A48AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A48AC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6A48AC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A48AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A48AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A48AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A48AC; -webkit-box-shadow: 1px 1px 3px 2px #6A48AC; box-shadow: 1px 1px 3px 2px #6A48AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A48AC; -webkit-box-shadow: 1px 1px 3px 2px #6A48AC; box-shadow:1px 1px 3px 2px #6A48AC;">
Div content here</div>
Dieser Text ist in der Farbe #6A48AC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6A48AC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6A48AC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6A48AC.