HEX: #6C3986
RGB: (108,57,134)
#6C3986 enthält hauptsächlich rote und blaue Farbe. Für #6C3986 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #6C3986 wird in RGB als (108,57,134) definiert.
RGB: (108,57,134) (42%,22%,53%)
R 108 von 255 = 42%
G 57 von 255 = 22%
B 134 von 255 = 53%
R + G + B ~ 39%. #6C3986 ziemlich dunkle Farbe.
R + G + B =
108 + 57 + 134 = 299 (100%)
R 108 von 299 ~ 36.12%
G 57 von 299 ~ 19.06%
B 134 von 299 ~ 44.82%
Die Farbe #6C3986 wird in CMYK als (19,57,0,47) definiert.
CMYK: (19,57,0,47) C19M57Y0K47 (19%,57%,0%,47%) (0.19/0.57/0.00/0.47)
6C | 39 | 86 | |
---|---|---|---|
RGB | 108 | 57 | 134 |
HSL | 280° | 40.31% | 37.45% |
HSB/HSV | 280° | 57.46% | 52.55% |
CMYK | 19.40% | 57.46% | 0.00% |
47.45% |
Hexadezimal | 6C | 39 | 86 |
Dezimal | 108 | 57 | 134 |
Binär | 1101100 | 111001 | 10000110 |
Oktal | 154 | 71 | 206 |
Beispiele css- und html für Elemente in der Farbe #6C3986. Bitte benutzen Sie auch rgb(108,57,134) statt hex-Code.
.myTextColor { color: #6C3986; }
<p style="color:#6C3986">This sample text font color is #6C3986.</p>
Die Farbe dieses Textes ist #6C3986.
.myBgColor { background-color: #6C3986; }
<div style="background-color:#6C3986">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C3986.
.myBorderColor { border: 1px solid #6C3986; }
<div style="border:3px solid #6C3986">Div</div>
Die Grenzen von diesem div sind in Farbe #6C3986.
.myOpacity80 { color: #6C3986; opacity: 0.8; }
<p style="color:#6C3986;opacity:0.8;">80%</p>
Text in Farbe #6C3986 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C3986;}
<p style="text-shadow: 3px 3px 1px #6C3986">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C3986.
.textShadow {text-shadow: 3px 3px 1px #6C3986, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C3986, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C3986 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C3986, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C3986, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C3986 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C3986; -webkit-box-shadow: 1px 1px 3px 2px #6C3986; box-shadow: 1px 1px 3px 2px #6C3986; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C3986; -webkit-box-shadow: 1px 1px 3px 2px #6C3986; box-shadow:1px 1px 3px 2px #6C3986;">
Div content here</div>
Dieser Text ist in der Farbe #6C3986 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C3986 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C3986.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C3986.