HEX: #997DAF
RGB: (153,125,175)
#997DAF enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #997DAF ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #997DAF wird in RGB als (153,125,175) definiert.
RGB: (153,125,175) (60%,49%,69%)
R 153 von 255 = 60%
G 125 von 255 = 49%
B 175 von 255 = 69%
R + G + B ~ 59%. #997DAF mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
153 + 125 + 175 = 453 (100%)
R 153 von 453 ~ 33.77%
G 125 von 453 ~ 27.59%
B 175 von 453 ~ 38.63%
Die Farbe #997DAF wird in CMYK als (13,29,0,31) definiert.
CMYK: (13,29,0,31) C13M29Y0K31 (13%,29%,0%,31%) (0.13/0.29/0.00/0.31)
99 | 7D | AF | |
---|---|---|---|
RGB | 153 | 125 | 175 |
HSL | 274° | 23.81% | 58.82% |
HSB/HSV | 274° | 28.57% | 68.63% |
CMYK | 12.57% | 28.57% | 0.00% |
31.37% |
Hexadezimal | 99 | 7D | AF |
Dezimal | 153 | 125 | 175 |
Binär | 10011001 | 1111101 | 10101111 |
Oktal | 231 | 175 | 257 |
Beispiele css- und html für Elemente in der Farbe #997DAF. Bitte benutzen Sie auch rgb(153,125,175) statt hex-Code.
.myTextColor { color: #997DAF; }
<p style="color:#997DAF">This sample text font color is #997DAF.</p>
Die Farbe dieses Textes ist #997DAF.
.myBgColor { background-color: #997DAF; }
<div style="background-color:#997DAF">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #997DAF.
.myBorderColor { border: 1px solid #997DAF; }
<div style="border:3px solid #997DAF">Div</div>
Die Grenzen von diesem div sind in Farbe #997DAF.
.myOpacity80 { color: #997DAF; opacity: 0.8; }
<p style="color:#997DAF;opacity:0.8;">80%</p>
Text in Farbe #997DAF und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997DAF;}
<p style="text-shadow: 3px 3px 1px #997DAF">Text here.</p>
Dieser Text hat den Schatten in Farbe #997DAF.
.textShadow {text-shadow: 3px 3px 1px #997DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997DAF, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #997DAF und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #997DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997DAF; -webkit-box-shadow: 1px 1px 3px 2px #997DAF; box-shadow: 1px 1px 3px 2px #997DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997DAF; -webkit-box-shadow: 1px 1px 3px 2px #997DAF; box-shadow:1px 1px 3px 2px #997DAF;">
Div content here</div>
Dieser Text ist in der Farbe #997DAF auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #997DAF auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #997DAF.
Dieser Text ist weiß auf dem Hintergrund in Farbe #997DAF.