HEX: #976B7D
RGB: (151,107,125)
#976B7D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #976B7D ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #976B7D wird in RGB als (151,107,125) definiert.
RGB: (151,107,125) (59%,42%,49%)
R 151 von 255 = 59%
G 107 von 255 = 42%
B 125 von 255 = 49%
R + G + B ~ 50%. #976B7D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
151 + 107 + 125 = 383 (100%)
R 151 von 383 ~ 39.43%
G 107 von 383 ~ 27.94%
B 125 von 383 ~ 32.64%
Die Farbe #976B7D wird in CMYK als (0,29,17,41) definiert.
CMYK: (0,29,17,41) C0M29Y17K41 (0%,29%,17%,41%) (0.00/0.29/0.17/0.41)
97 | 6B | 7D | |
---|---|---|---|
RGB | 151 | 107 | 125 |
HSL | 335° | 17.46% | 50.59% |
HSB/HSV | 335° | 29.14% | 59.22% |
CMYK | 0.00% | 29.14% | 17.22% |
40.78% |
Hexadezimal | 97 | 6B | 7D |
Dezimal | 151 | 107 | 125 |
Binär | 10010111 | 1101011 | 1111101 |
Oktal | 227 | 153 | 175 |
Beispiele css- und html für Elemente in der Farbe #976B7D. Bitte benutzen Sie auch rgb(151,107,125) statt hex-Code.
.myTextColor { color: #976B7D; }
<p style="color:#976B7D">This sample text font color is #976B7D.</p>
Die Farbe dieses Textes ist #976B7D.
.myBgColor { background-color: #976B7D; }
<div style="background-color:#976B7D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #976B7D.
.myBorderColor { border: 1px solid #976B7D; }
<div style="border:3px solid #976B7D">Div</div>
Die Grenzen von diesem div sind in Farbe #976B7D.
.myOpacity80 { color: #976B7D; opacity: 0.8; }
<p style="color:#976B7D;opacity:0.8;">80%</p>
Text in Farbe #976B7D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976B7D;}
<p style="text-shadow: 3px 3px 1px #976B7D">Text here.</p>
Dieser Text hat den Schatten in Farbe #976B7D.
.textShadow {text-shadow: 3px 3px 1px #976B7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976B7D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #976B7D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976B7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976B7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #976B7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976B7D; -webkit-box-shadow: 1px 1px 3px 2px #976B7D; box-shadow: 1px 1px 3px 2px #976B7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976B7D; -webkit-box-shadow: 1px 1px 3px 2px #976B7D; box-shadow:1px 1px 3px 2px #976B7D;">
Div content here</div>
Dieser Text ist in der Farbe #976B7D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #976B7D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #976B7D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #976B7D.