HEX: #6C784E
RGB: (108,120,78)
#6C784E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6C784E ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #6C784E wird in RGB als (108,120,78) definiert.
RGB: (108,120,78) (42%,47%,31%)
R 108 von 255 = 42%
G 120 von 255 = 47%
B 78 von 255 = 31%
R + G + B ~ 40%. #6C784E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
108 + 120 + 78 = 306 (100%)
R 108 von 306 ~ 35.29%
G 120 von 306 ~ 39.22%
B 78 von 306 ~ 25.49%
Die Farbe #6C784E wird in CMYK als (10,0,35,53) definiert.
CMYK: (10,0,35,53) C10M0Y35K53 (10%,0%,35%,53%) (0.10/0.00/0.35/0.53)
6C | 78 | 4E | |
---|---|---|---|
RGB | 108 | 120 | 78 |
HSL | 77° | 21.21% | 38.82% |
HSB/HSV | 77° | 35.00% | 47.06% |
CMYK | 10.00% | 0.00% | 35.00% |
52.94% |
Hexadezimal | 6C | 78 | 4E |
Dezimal | 108 | 120 | 78 |
Binär | 1101100 | 1111000 | 1001110 |
Oktal | 154 | 170 | 116 |
Beispiele css- und html für Elemente in der Farbe #6C784E. Bitte benutzen Sie auch rgb(108,120,78) statt hex-Code.
.myTextColor { color: #6C784E; }
<p style="color:#6C784E">This sample text font color is #6C784E.</p>
Die Farbe dieses Textes ist #6C784E.
.myBgColor { background-color: #6C784E; }
<div style="background-color:#6C784E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C784E.
.myBorderColor { border: 1px solid #6C784E; }
<div style="border:3px solid #6C784E">Div</div>
Die Grenzen von diesem div sind in Farbe #6C784E.
.myOpacity80 { color: #6C784E; opacity: 0.8; }
<p style="color:#6C784E;opacity:0.8;">80%</p>
Text in Farbe #6C784E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C784E;}
<p style="text-shadow: 3px 3px 1px #6C784E">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C784E.
.textShadow {text-shadow: 3px 3px 1px #6C784E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C784E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C784E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C784E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C784E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C784E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C784E; -webkit-box-shadow: 1px 1px 3px 2px #6C784E; box-shadow: 1px 1px 3px 2px #6C784E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C784E; -webkit-box-shadow: 1px 1px 3px 2px #6C784E; box-shadow:1px 1px 3px 2px #6C784E;">
Div content here</div>
Dieser Text ist in der Farbe #6C784E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C784E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C784E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C784E.