HEX: #977DAB
RGB: (151,125,171)
#977DAB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #977DAB ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #977DAB wird in RGB als (151,125,171) definiert.
RGB: (151,125,171) (59%,49%,67%)
R 151 von 255 = 59%
G 125 von 255 = 49%
B 171 von 255 = 67%
R + G + B ~ 58%. #977DAB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
151 + 125 + 171 = 447 (100%)
R 151 von 447 ~ 33.78%
G 125 von 447 ~ 27.96%
B 171 von 447 ~ 38.26%
Die Farbe #977DAB wird in CMYK als (12,27,0,33) definiert.
CMYK: (12,27,0,33) C12M27Y0K33 (12%,27%,0%,33%) (0.12/0.27/0.00/0.33)
97 | 7D | AB | |
---|---|---|---|
RGB | 151 | 125 | 171 |
HSL | 274° | 21.50% | 58.04% |
HSB/HSV | 274° | 26.90% | 67.06% |
CMYK | 11.70% | 26.90% | 0.00% |
32.94% |
Hexadezimal | 97 | 7D | AB |
Dezimal | 151 | 125 | 171 |
Binär | 10010111 | 1111101 | 10101011 |
Oktal | 227 | 175 | 253 |
Beispiele css- und html für Elemente in der Farbe #977DAB. Bitte benutzen Sie auch rgb(151,125,171) statt hex-Code.
.myTextColor { color: #977DAB; }
<p style="color:#977DAB">This sample text font color is #977DAB.</p>
Die Farbe dieses Textes ist #977DAB.
.myBgColor { background-color: #977DAB; }
<div style="background-color:#977DAB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #977DAB.
.myBorderColor { border: 1px solid #977DAB; }
<div style="border:3px solid #977DAB">Div</div>
Die Grenzen von diesem div sind in Farbe #977DAB.
.myOpacity80 { color: #977DAB; opacity: 0.8; }
<p style="color:#977DAB;opacity:0.8;">80%</p>
Text in Farbe #977DAB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977DAB;}
<p style="text-shadow: 3px 3px 1px #977DAB">Text here.</p>
Dieser Text hat den Schatten in Farbe #977DAB.
.textShadow {text-shadow: 3px 3px 1px #977DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977DAB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #977DAB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #977DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977DAB; -webkit-box-shadow: 1px 1px 3px 2px #977DAB; box-shadow: 1px 1px 3px 2px #977DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977DAB; -webkit-box-shadow: 1px 1px 3px 2px #977DAB; box-shadow:1px 1px 3px 2px #977DAB;">
Div content here</div>
Dieser Text ist in der Farbe #977DAB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #977DAB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #977DAB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #977DAB.