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