HEX: #9B797D
RGB: (155,121,125)
#9B797D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9B797D ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #9B797D wird in RGB als (155,121,125) definiert.
RGB: (155,121,125) (61%,47%,49%)
R 155 von 255 = 61%
G 121 von 255 = 47%
B 125 von 255 = 49%
R + G + B ~ 52%. #9B797D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 121 + 125 = 401 (100%)
R 155 von 401 ~ 38.65%
G 121 von 401 ~ 30.17%
B 125 von 401 ~ 31.17%
Die Farbe #9B797D wird in CMYK als (0,22,19,39) definiert.
CMYK: (0,22,19,39) C0M22Y19K39 (0%,22%,19%,39%) (0.00/0.22/0.19/0.39)
9B | 79 | 7D | |
---|---|---|---|
RGB | 155 | 121 | 125 |
HSL | 353° | 14.53% | 54.12% |
HSB/HSV | 353° | 21.94% | 60.78% |
CMYK | 0.00% | 21.94% | 19.35% |
39.22% |
Hexadezimal | 9B | 79 | 7D |
Dezimal | 155 | 121 | 125 |
Binär | 10011011 | 1111001 | 1111101 |
Oktal | 233 | 171 | 175 |
Beispiele css- und html für Elemente in der Farbe #9B797D. Bitte benutzen Sie auch rgb(155,121,125) statt hex-Code.
.myTextColor { color: #9B797D; }
<p style="color:#9B797D">This sample text font color is #9B797D.</p>
Die Farbe dieses Textes ist #9B797D.
.myBgColor { background-color: #9B797D; }
<div style="background-color:#9B797D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B797D.
.myBorderColor { border: 1px solid #9B797D; }
<div style="border:3px solid #9B797D">Div</div>
Die Grenzen von diesem div sind in Farbe #9B797D.
.myOpacity80 { color: #9B797D; opacity: 0.8; }
<p style="color:#9B797D;opacity:0.8;">80%</p>
Text in Farbe #9B797D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B797D;}
<p style="text-shadow: 3px 3px 1px #9B797D">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B797D.
.textShadow {text-shadow: 3px 3px 1px #9B797D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B797D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B797D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B797D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B797D, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B797D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B797D; -webkit-box-shadow: 1px 1px 3px 2px #9B797D; box-shadow: 1px 1px 3px 2px #9B797D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B797D; -webkit-box-shadow: 1px 1px 3px 2px #9B797D; box-shadow:1px 1px 3px 2px #9B797D;">
Div content here</div>
Dieser Text ist in der Farbe #9B797D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B797D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B797D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B797D.