HEX: #6B804D
RGB: (107,128,77)
#6B804D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6B804D ist eine «websichere» Webfarbe #666633 (oder kurz #663).
Die Farbe #6B804D wird in RGB als (107,128,77) definiert.
RGB: (107,128,77) (42%,50%,30%)
R 107 von 255 = 42%
G 128 von 255 = 50%
B 77 von 255 = 30%
R + G + B ~ 41%. #6B804D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
107 + 128 + 77 = 312 (100%)
R 107 von 312 ~ 34.29%
G 128 von 312 ~ 41.03%
B 77 von 312 ~ 24.68%
Die Farbe #6B804D wird in CMYK als (16,0,40,50) definiert.
CMYK: (16,0,40,50) C16M0Y40K50 (16%,0%,40%,50%) (0.16/0.00/0.40/0.50)
6B | 80 | 4D | |
---|---|---|---|
RGB | 107 | 128 | 77 |
HSL | 85° | 24.88% | 40.20% |
HSB/HSV | 85° | 39.84% | 50.20% |
CMYK | 16.41% | 0.00% | 39.84% |
49.80% |
Hexadezimal | 6B | 80 | 4D |
Dezimal | 107 | 128 | 77 |
Binär | 1101011 | 10000000 | 1001101 |
Oktal | 153 | 200 | 115 |
Beispiele css- und html für Elemente in der Farbe #6B804D. Bitte benutzen Sie auch rgb(107,128,77) statt hex-Code.
.myTextColor { color: #6B804D; }
<p style="color:#6B804D">This sample text font color is #6B804D.</p>
Die Farbe dieses Textes ist #6B804D.
.myBgColor { background-color: #6B804D; }
<div style="background-color:#6B804D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6B804D.
.myBorderColor { border: 1px solid #6B804D; }
<div style="border:3px solid #6B804D">Div</div>
Die Grenzen von diesem div sind in Farbe #6B804D.
.myOpacity80 { color: #6B804D; opacity: 0.8; }
<p style="color:#6B804D;opacity:0.8;">80%</p>
Text in Farbe #6B804D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B804D;}
<p style="text-shadow: 3px 3px 1px #6B804D">Text here.</p>
Dieser Text hat den Schatten in Farbe #6B804D.
.textShadow {text-shadow: 3px 3px 1px #6B804D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B804D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6B804D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B804D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B804D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B804D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B804D; -webkit-box-shadow: 1px 1px 3px 2px #6B804D; box-shadow: 1px 1px 3px 2px #6B804D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B804D; -webkit-box-shadow: 1px 1px 3px 2px #6B804D; box-shadow:1px 1px 3px 2px #6B804D;">
Div content here</div>
Dieser Text ist in der Farbe #6B804D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6B804D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6B804D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6B804D.