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