HEX: #6C7897
RGB: (108,120,151)
#6C7897 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6C7897 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #6C7897 wird in RGB als (108,120,151) definiert.
RGB: (108,120,151) (42%,47%,59%)
R 108 von 255 = 42%
G 120 von 255 = 47%
B 151 von 255 = 59%
R + G + B ~ 49%. #6C7897 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
108 + 120 + 151 = 379 (100%)
R 108 von 379 ~ 28.5%
G 120 von 379 ~ 31.66%
B 151 von 379 ~ 39.84%
Die Farbe #6C7897 wird in CMYK als (28,21,0,41) definiert.
CMYK: (28,21,0,41) C28M21Y0K41 (28%,21%,0%,41%) (0.28/0.21/0.00/0.41)
6C | 78 | 97 | |
---|---|---|---|
RGB | 108 | 120 | 151 |
HSL | 223° | 17.13% | 50.78% |
HSB/HSV | 223° | 28.48% | 59.22% |
CMYK | 28.48% | 20.53% | 0.00% |
40.78% |
Hexadezimal | 6C | 78 | 97 |
Dezimal | 108 | 120 | 151 |
Binär | 1101100 | 1111000 | 10010111 |
Oktal | 154 | 170 | 227 |
Beispiele css- und html für Elemente in der Farbe #6C7897. Bitte benutzen Sie auch rgb(108,120,151) statt hex-Code.
.myTextColor { color: #6C7897; }
<p style="color:#6C7897">This sample text font color is #6C7897.</p>
Die Farbe dieses Textes ist #6C7897.
.myBgColor { background-color: #6C7897; }
<div style="background-color:#6C7897">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C7897.
.myBorderColor { border: 1px solid #6C7897; }
<div style="border:3px solid #6C7897">Div</div>
Die Grenzen von diesem div sind in Farbe #6C7897.
.myOpacity80 { color: #6C7897; opacity: 0.8; }
<p style="color:#6C7897;opacity:0.8;">80%</p>
Text in Farbe #6C7897 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C7897;}
<p style="text-shadow: 3px 3px 1px #6C7897">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C7897.
.textShadow {text-shadow: 3px 3px 1px #6C7897, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C7897, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C7897 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C7897, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C7897, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C7897 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C7897; -webkit-box-shadow: 1px 1px 3px 2px #6C7897; box-shadow: 1px 1px 3px 2px #6C7897; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C7897; -webkit-box-shadow: 1px 1px 3px 2px #6C7897; box-shadow:1px 1px 3px 2px #6C7897;">
Div content here</div>
Dieser Text ist in der Farbe #6C7897 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C7897 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C7897.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C7897.