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