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