HEX: #976D98
RGB: (151,109,152)
#976D98 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #976D98 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #976D98 wird in RGB als (151,109,152) definiert.
RGB: (151,109,152) (59%,43%,60%)
R 151 von 255 = 59%
G 109 von 255 = 43%
B 152 von 255 = 60%
R + G + B ~ 54%. #976D98 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
151 + 109 + 152 = 412 (100%)
R 151 von 412 ~ 36.65%
G 109 von 412 ~ 26.46%
B 152 von 412 ~ 36.89%
Die Farbe #976D98 wird in CMYK als (1,28,0,40) definiert.
CMYK: (1,28,0,40) C1M28Y0K40 (1%,28%,0%,40%) (0.01/0.28/0.00/0.40)
97 | 6D | 98 | |
---|---|---|---|
RGB | 151 | 109 | 152 |
HSL | 299° | 17.27% | 51.18% |
HSB/HSV | 299° | 28.29% | 59.61% |
CMYK | 0.66% | 28.29% | 0.00% |
40.39% |
Hexadezimal | 97 | 6D | 98 |
Dezimal | 151 | 109 | 152 |
Binär | 10010111 | 1101101 | 10011000 |
Oktal | 227 | 155 | 230 |
Beispiele css- und html für Elemente in der Farbe #976D98. Bitte benutzen Sie auch rgb(151,109,152) statt hex-Code.
.myTextColor { color: #976D98; }
<p style="color:#976D98">This sample text font color is #976D98.</p>
Die Farbe dieses Textes ist #976D98.
.myBgColor { background-color: #976D98; }
<div style="background-color:#976D98">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #976D98.
.myBorderColor { border: 1px solid #976D98; }
<div style="border:3px solid #976D98">Div</div>
Die Grenzen von diesem div sind in Farbe #976D98.
.myOpacity80 { color: #976D98; opacity: 0.8; }
<p style="color:#976D98;opacity:0.8;">80%</p>
Text in Farbe #976D98 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976D98;}
<p style="text-shadow: 3px 3px 1px #976D98">Text here.</p>
Dieser Text hat den Schatten in Farbe #976D98.
.textShadow {text-shadow: 3px 3px 1px #976D98, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976D98, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #976D98 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976D98, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976D98, Direction=45, Strength=4)">Text</p>
This text has shadow with #976D98 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976D98; -webkit-box-shadow: 1px 1px 3px 2px #976D98; box-shadow: 1px 1px 3px 2px #976D98; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976D98; -webkit-box-shadow: 1px 1px 3px 2px #976D98; box-shadow:1px 1px 3px 2px #976D98;">
Div content here</div>
Dieser Text ist in der Farbe #976D98 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #976D98 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #976D98.
Dieser Text ist weiß auf dem Hintergrund in Farbe #976D98.