HEX: #797E7B
RGB: (121,126,123)
#797E7B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #797E7B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #797E7B wird in RGB als (121,126,123) definiert.
RGB: (121,126,123) (47%,49%,48%)
R 121 von 255 = 47%
G 126 von 255 = 49%
B 123 von 255 = 48%
R + G + B ~ 48%. #797E7B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
121 + 126 + 123 = 370 (100%)
R 121 von 370 ~ 32.7%
G 126 von 370 ~ 34.05%
B 123 von 370 ~ 33.24%
Die Farbe #797E7B wird in CMYK als (4,0,2,51) definiert.
CMYK: (4,0,2,51) C4M0Y2K51 (4%,0%,2%,51%) (0.04/0.00/0.02/0.51)
79 | 7E | 7B | |
---|---|---|---|
RGB | 121 | 126 | 123 |
HSL | 144° | 2.02% | 48.43% |
HSB/HSV | 144° | 3.97% | 49.41% |
CMYK | 3.97% | 0.00% | 2.38% |
50.59% |
Hexadezimal | 79 | 7E | 7B |
Dezimal | 121 | 126 | 123 |
Binär | 1111001 | 1111110 | 1111011 |
Oktal | 171 | 176 | 173 |
Beispiele css- und html für Elemente in der Farbe #797E7B. Bitte benutzen Sie auch rgb(121,126,123) statt hex-Code.
.myTextColor { color: #797E7B; }
<p style="color:#797E7B">This sample text font color is #797E7B.</p>
Die Farbe dieses Textes ist #797E7B.
.myBgColor { background-color: #797E7B; }
<div style="background-color:#797E7B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #797E7B.
.myBorderColor { border: 1px solid #797E7B; }
<div style="border:3px solid #797E7B">Div</div>
Die Grenzen von diesem div sind in Farbe #797E7B.
.myOpacity80 { color: #797E7B; opacity: 0.8; }
<p style="color:#797E7B;opacity:0.8;">80%</p>
Text in Farbe #797E7B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #797E7B;}
<p style="text-shadow: 3px 3px 1px #797E7B">Text here.</p>
Dieser Text hat den Schatten in Farbe #797E7B.
.textShadow {text-shadow: 3px 3px 1px #797E7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #797E7B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #797E7B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#797E7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#797E7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #797E7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #797E7B; -webkit-box-shadow: 1px 1px 3px 2px #797E7B; box-shadow: 1px 1px 3px 2px #797E7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #797E7B; -webkit-box-shadow: 1px 1px 3px 2px #797E7B; box-shadow:1px 1px 3px 2px #797E7B;">
Div content here</div>
Dieser Text ist in der Farbe #797E7B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #797E7B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #797E7B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #797E7B.