HEX: #6F28A6
RGB: (111,40,166)
#6F28A6 enthält hauptsächlich rote und blaue Farbe. Für #6F28A6 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #6F28A6 wird in RGB als (111,40,166) definiert.
RGB: (111,40,166) (44%,16%,65%)
R 111 von 255 = 44%
G 40 von 255 = 16%
B 166 von 255 = 65%
R + G + B ~ 42%. #6F28A6 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
111 + 40 + 166 = 317 (100%)
R 111 von 317 ~ 35.02%
G 40 von 317 ~ 12.62%
B 166 von 317 ~ 52.37%
Die Farbe #6F28A6 wird in CMYK als (33,76,0,35) definiert.
CMYK: (33,76,0,35) C33M76Y0K35 (33%,76%,0%,35%) (0.33/0.76/0.00/0.35)
6F | 28 | A6 | |
---|---|---|---|
RGB | 111 | 40 | 166 |
HSL | 274° | 61.17% | 40.39% |
HSB/HSV | 274° | 75.90% | 65.10% |
CMYK | 33.13% | 75.90% | 0.00% |
34.90% |
Hexadezimal | 6F | 28 | A6 |
Dezimal | 111 | 40 | 166 |
Binär | 1101111 | 101000 | 10100110 |
Oktal | 157 | 50 | 246 |
Beispiele css- und html für Elemente in der Farbe #6F28A6. Bitte benutzen Sie auch rgb(111,40,166) statt hex-Code.
.myTextColor { color: #6F28A6; }
<p style="color:#6F28A6">This sample text font color is #6F28A6.</p>
Die Farbe dieses Textes ist #6F28A6.
.myBgColor { background-color: #6F28A6; }
<div style="background-color:#6F28A6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6F28A6.
.myBorderColor { border: 1px solid #6F28A6; }
<div style="border:3px solid #6F28A6">Div</div>
Die Grenzen von diesem div sind in Farbe #6F28A6.
.myOpacity80 { color: #6F28A6; opacity: 0.8; }
<p style="color:#6F28A6;opacity:0.8;">80%</p>
Text in Farbe #6F28A6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6F28A6;}
<p style="text-shadow: 3px 3px 1px #6F28A6">Text here.</p>
Dieser Text hat den Schatten in Farbe #6F28A6.
.textShadow {text-shadow: 3px 3px 1px #6F28A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6F28A6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6F28A6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6F28A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6F28A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #6F28A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6F28A6; -webkit-box-shadow: 1px 1px 3px 2px #6F28A6; box-shadow: 1px 1px 3px 2px #6F28A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6F28A6; -webkit-box-shadow: 1px 1px 3px 2px #6F28A6; box-shadow:1px 1px 3px 2px #6F28A6;">
Div content here</div>
Dieser Text ist in der Farbe #6F28A6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6F28A6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6F28A6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6F28A6.