HEX: #7F785B
RGB: (127,120,91)
#7F785B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7F785B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #7F785B wird in RGB als (127,120,91) definiert.
RGB: (127,120,91) (50%,47%,36%)
R 127 von 255 = 50%
G 120 von 255 = 47%
B 91 von 255 = 36%
R + G + B ~ 44%. #7F785B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
127 + 120 + 91 = 338 (100%)
R 127 von 338 ~ 37.57%
G 120 von 338 ~ 35.5%
B 91 von 338 ~ 26.92%
Die Farbe #7F785B wird in CMYK als (0,6,28,50) definiert.
CMYK: (0,6,28,50) C0M6Y28K50 (0%,6%,28%,50%) (0.00/0.06/0.28/0.50)
7F | 78 | 5B | |
---|---|---|---|
RGB | 127 | 120 | 91 |
HSL | 48° | 16.51% | 42.75% |
HSB/HSV | 48° | 28.35% | 49.80% |
CMYK | 0.00% | 5.51% | 28.35% |
50.20% |
Hexadezimal | 7F | 78 | 5B |
Dezimal | 127 | 120 | 91 |
Binär | 1111111 | 1111000 | 1011011 |
Oktal | 177 | 170 | 133 |
Beispiele css- und html für Elemente in der Farbe #7F785B. Bitte benutzen Sie auch rgb(127,120,91) statt hex-Code.
.myTextColor { color: #7F785B; }
<p style="color:#7F785B">This sample text font color is #7F785B.</p>
Die Farbe dieses Textes ist #7F785B.
.myBgColor { background-color: #7F785B; }
<div style="background-color:#7F785B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F785B.
.myBorderColor { border: 1px solid #7F785B; }
<div style="border:3px solid #7F785B">Div</div>
Die Grenzen von diesem div sind in Farbe #7F785B.
.myOpacity80 { color: #7F785B; opacity: 0.8; }
<p style="color:#7F785B;opacity:0.8;">80%</p>
Text in Farbe #7F785B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F785B;}
<p style="text-shadow: 3px 3px 1px #7F785B">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F785B.
.textShadow {text-shadow: 3px 3px 1px #7F785B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F785B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F785B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F785B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F785B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F785B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F785B; -webkit-box-shadow: 1px 1px 3px 2px #7F785B; box-shadow: 1px 1px 3px 2px #7F785B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F785B; -webkit-box-shadow: 1px 1px 3px 2px #7F785B; box-shadow:1px 1px 3px 2px #7F785B;">
Div content here</div>
Dieser Text ist in der Farbe #7F785B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F785B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F785B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F785B.