HEX: #8CB480
RGB: (140,180,128)
#8CB480 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8CB480 ist eine «websichere» Webfarbe #99CC66 (oder kurz #9C6).
Die Farbe #8CB480 wird in RGB als (140,180,128) definiert.
RGB: (140,180,128) (55%,71%,50%)
R 140 von 255 = 55%
G 180 von 255 = 71%
B 128 von 255 = 50%
R + G + B ~ 59%. #8CB480 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 180 + 128 = 448 (100%)
R 140 von 448 ~ 31.25%
G 180 von 448 ~ 40.18%
B 128 von 448 ~ 28.57%
Die Farbe #8CB480 wird in CMYK als (22,0,29,29) definiert.
CMYK: (22,0,29,29) C22M0Y29K29 (22%,0%,29%,29%) (0.22/0.00/0.29/0.29)
8C | B4 | 80 | |
---|---|---|---|
RGB | 140 | 180 | 128 |
HSL | 106° | 25.74% | 60.39% |
HSB/HSV | 106° | 28.89% | 70.59% |
CMYK | 22.22% | 0.00% | 28.89% |
29.41% |
Hexadezimal | 8C | B4 | 80 |
Dezimal | 140 | 180 | 128 |
Binär | 10001100 | 10110100 | 10000000 |
Oktal | 214 | 264 | 200 |
Beispiele css- und html für Elemente in der Farbe #8CB480. Bitte benutzen Sie auch rgb(140,180,128) statt hex-Code.
.myTextColor { color: #8CB480; }
<p style="color:#8CB480">This sample text font color is #8CB480.</p>
Die Farbe dieses Textes ist #8CB480.
.myBgColor { background-color: #8CB480; }
<div style="background-color:#8CB480">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8CB480.
.myBorderColor { border: 1px solid #8CB480; }
<div style="border:3px solid #8CB480">Div</div>
Die Grenzen von diesem div sind in Farbe #8CB480.
.myOpacity80 { color: #8CB480; opacity: 0.8; }
<p style="color:#8CB480;opacity:0.8;">80%</p>
Text in Farbe #8CB480 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8CB480;}
<p style="text-shadow: 3px 3px 1px #8CB480">Text here.</p>
Dieser Text hat den Schatten in Farbe #8CB480.
.textShadow {text-shadow: 3px 3px 1px #8CB480, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8CB480, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8CB480 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8CB480, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8CB480, Direction=45, Strength=4)">Text</p>
This text has shadow with #8CB480 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8CB480; -webkit-box-shadow: 1px 1px 3px 2px #8CB480; box-shadow: 1px 1px 3px 2px #8CB480; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8CB480; -webkit-box-shadow: 1px 1px 3px 2px #8CB480; box-shadow:1px 1px 3px 2px #8CB480;">
Div content here</div>
Dieser Text ist in der Farbe #8CB480 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8CB480 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8CB480.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8CB480.