HEX: #6C875B
RGB: (108,135,91)
#6C875B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6C875B ist eine «websichere» Webfarbe #669966 (oder kurz #696).
Die Farbe #6C875B wird in RGB als (108,135,91) definiert.
RGB: (108,135,91) (42%,53%,36%)
R 108 von 255 = 42%
G 135 von 255 = 53%
B 91 von 255 = 36%
R + G + B ~ 44%. #6C875B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
108 + 135 + 91 = 334 (100%)
R 108 von 334 ~ 32.34%
G 135 von 334 ~ 40.42%
B 91 von 334 ~ 27.25%
Die Farbe #6C875B wird in CMYK als (20,0,33,47) definiert.
CMYK: (20,0,33,47) C20M0Y33K47 (20%,0%,33%,47%) (0.20/0.00/0.33/0.47)
6C | 87 | 5B | |
---|---|---|---|
RGB | 108 | 135 | 91 |
HSL | 97° | 19.47% | 44.31% |
HSB/HSV | 97° | 32.59% | 52.94% |
CMYK | 20.00% | 0.00% | 32.59% |
47.06% |
Hexadezimal | 6C | 87 | 5B |
Dezimal | 108 | 135 | 91 |
Binär | 1101100 | 10000111 | 1011011 |
Oktal | 154 | 207 | 133 |
Beispiele css- und html für Elemente in der Farbe #6C875B. Bitte benutzen Sie auch rgb(108,135,91) statt hex-Code.
.myTextColor { color: #6C875B; }
<p style="color:#6C875B">This sample text font color is #6C875B.</p>
Die Farbe dieses Textes ist #6C875B.
.myBgColor { background-color: #6C875B; }
<div style="background-color:#6C875B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C875B.
.myBorderColor { border: 1px solid #6C875B; }
<div style="border:3px solid #6C875B">Div</div>
Die Grenzen von diesem div sind in Farbe #6C875B.
.myOpacity80 { color: #6C875B; opacity: 0.8; }
<p style="color:#6C875B;opacity:0.8;">80%</p>
Text in Farbe #6C875B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C875B;}
<p style="text-shadow: 3px 3px 1px #6C875B">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C875B.
.textShadow {text-shadow: 3px 3px 1px #6C875B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C875B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C875B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C875B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C875B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C875B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C875B; -webkit-box-shadow: 1px 1px 3px 2px #6C875B; box-shadow: 1px 1px 3px 2px #6C875B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C875B; -webkit-box-shadow: 1px 1px 3px 2px #6C875B; box-shadow:1px 1px 3px 2px #6C875B;">
Div content here</div>
Dieser Text ist in der Farbe #6C875B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C875B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C875B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C875B.