HEX: #976C9B
RGB: (151,108,155)
#976C9B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #976C9B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #976C9B wird in RGB als (151,108,155) definiert.
RGB: (151,108,155) (59%,42%,61%)
R 151 von 255 = 59%
G 108 von 255 = 42%
B 155 von 255 = 61%
R + G + B ~ 54%. #976C9B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
151 + 108 + 155 = 414 (100%)
R 151 von 414 ~ 36.47%
G 108 von 414 ~ 26.09%
B 155 von 414 ~ 37.44%
Die Farbe #976C9B wird in CMYK als (3,30,0,39) definiert.
CMYK: (3,30,0,39) C3M30Y0K39 (3%,30%,0%,39%) (0.03/0.30/0.00/0.39)
97 | 6C | 9B | |
---|---|---|---|
RGB | 151 | 108 | 155 |
HSL | 295° | 19.03% | 51.57% |
HSB/HSV | 295° | 30.32% | 60.78% |
CMYK | 2.58% | 30.32% | 0.00% |
39.22% |
Hexadezimal | 97 | 6C | 9B |
Dezimal | 151 | 108 | 155 |
Binär | 10010111 | 1101100 | 10011011 |
Oktal | 227 | 154 | 233 |
Beispiele css- und html für Elemente in der Farbe #976C9B. Bitte benutzen Sie auch rgb(151,108,155) statt hex-Code.
.myTextColor { color: #976C9B; }
<p style="color:#976C9B">This sample text font color is #976C9B.</p>
Die Farbe dieses Textes ist #976C9B.
.myBgColor { background-color: #976C9B; }
<div style="background-color:#976C9B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #976C9B.
.myBorderColor { border: 1px solid #976C9B; }
<div style="border:3px solid #976C9B">Div</div>
Die Grenzen von diesem div sind in Farbe #976C9B.
.myOpacity80 { color: #976C9B; opacity: 0.8; }
<p style="color:#976C9B;opacity:0.8;">80%</p>
Text in Farbe #976C9B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976C9B;}
<p style="text-shadow: 3px 3px 1px #976C9B">Text here.</p>
Dieser Text hat den Schatten in Farbe #976C9B.
.textShadow {text-shadow: 3px 3px 1px #976C9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976C9B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #976C9B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976C9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976C9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #976C9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976C9B; -webkit-box-shadow: 1px 1px 3px 2px #976C9B; box-shadow: 1px 1px 3px 2px #976C9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976C9B; -webkit-box-shadow: 1px 1px 3px 2px #976C9B; box-shadow:1px 1px 3px 2px #976C9B;">
Div content here</div>
Dieser Text ist in der Farbe #976C9B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #976C9B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #976C9B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #976C9B.