HEX: #6A5FAB
RGB: (106,95,171)
#6A5FAB enthält hauptsächlich blaue Farbe. Für #6A5FAB ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #6A5FAB wird in RGB als (106,95,171) definiert.
RGB: (106,95,171) (42%,37%,67%)
R 106 von 255 = 42%
G 95 von 255 = 37%
B 171 von 255 = 67%
R + G + B ~ 49%. #6A5FAB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
106 + 95 + 171 = 372 (100%)
R 106 von 372 ~ 28.49%
G 95 von 372 ~ 25.54%
B 171 von 372 ~ 45.97%
Die Farbe #6A5FAB wird in CMYK als (38,44,0,33) definiert.
CMYK: (38,44,0,33) C38M44Y0K33 (38%,44%,0%,33%) (0.38/0.44/0.00/0.33)
6A | 5F | AB | |
---|---|---|---|
RGB | 106 | 95 | 171 |
HSL | 249° | 31.15% | 52.16% |
HSB/HSV | 249° | 44.44% | 67.06% |
CMYK | 38.01% | 44.44% | 0.00% |
32.94% |
Hexadezimal | 6A | 5F | AB |
Dezimal | 106 | 95 | 171 |
Binär | 1101010 | 1011111 | 10101011 |
Oktal | 152 | 137 | 253 |
Beispiele css- und html für Elemente in der Farbe #6A5FAB. Bitte benutzen Sie auch rgb(106,95,171) statt hex-Code.
.myTextColor { color: #6A5FAB; }
<p style="color:#6A5FAB">This sample text font color is #6A5FAB.</p>
Die Farbe dieses Textes ist #6A5FAB.
.myBgColor { background-color: #6A5FAB; }
<div style="background-color:#6A5FAB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6A5FAB.
.myBorderColor { border: 1px solid #6A5FAB; }
<div style="border:3px solid #6A5FAB">Div</div>
Die Grenzen von diesem div sind in Farbe #6A5FAB.
.myOpacity80 { color: #6A5FAB; opacity: 0.8; }
<p style="color:#6A5FAB;opacity:0.8;">80%</p>
Text in Farbe #6A5FAB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A5FAB;}
<p style="text-shadow: 3px 3px 1px #6A5FAB">Text here.</p>
Dieser Text hat den Schatten in Farbe #6A5FAB.
.textShadow {text-shadow: 3px 3px 1px #6A5FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A5FAB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6A5FAB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A5FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A5FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A5FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A5FAB; -webkit-box-shadow: 1px 1px 3px 2px #6A5FAB; box-shadow: 1px 1px 3px 2px #6A5FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A5FAB; -webkit-box-shadow: 1px 1px 3px 2px #6A5FAB; box-shadow:1px 1px 3px 2px #6A5FAB;">
Div content here</div>
Dieser Text ist in der Farbe #6A5FAB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6A5FAB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6A5FAB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6A5FAB.