HEX: #9D7FA1
RGB: (157,127,161)
#9D7FA1 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9D7FA1 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9D7FA1 wird in RGB als (157,127,161) definiert.
RGB: (157,127,161) (62%,50%,63%)
R 157 von 255 = 62%
G 127 von 255 = 50%
B 161 von 255 = 63%
R + G + B ~ 58%. #9D7FA1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
157 + 127 + 161 = 445 (100%)
R 157 von 445 ~ 35.28%
G 127 von 445 ~ 28.54%
B 161 von 445 ~ 36.18%
Die Farbe #9D7FA1 wird in CMYK als (2,21,0,37) definiert.
CMYK: (2,21,0,37) C2M21Y0K37 (2%,21%,0%,37%) (0.02/0.21/0.00/0.37)
9D | 7F | A1 | |
---|---|---|---|
RGB | 157 | 127 | 161 |
HSL | 293° | 15.32% | 56.47% |
HSB/HSV | 293° | 21.12% | 63.14% |
CMYK | 2.48% | 21.12% | 0.00% |
36.86% |
Hexadezimal | 9D | 7F | A1 |
Dezimal | 157 | 127 | 161 |
Binär | 10011101 | 1111111 | 10100001 |
Oktal | 235 | 177 | 241 |
Beispiele css- und html für Elemente in der Farbe #9D7FA1. Bitte benutzen Sie auch rgb(157,127,161) statt hex-Code.
.myTextColor { color: #9D7FA1; }
<p style="color:#9D7FA1">This sample text font color is #9D7FA1.</p>
Die Farbe dieses Textes ist #9D7FA1.
.myBgColor { background-color: #9D7FA1; }
<div style="background-color:#9D7FA1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9D7FA1.
.myBorderColor { border: 1px solid #9D7FA1; }
<div style="border:3px solid #9D7FA1">Div</div>
Die Grenzen von diesem div sind in Farbe #9D7FA1.
.myOpacity80 { color: #9D7FA1; opacity: 0.8; }
<p style="color:#9D7FA1;opacity:0.8;">80%</p>
Text in Farbe #9D7FA1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D7FA1;}
<p style="text-shadow: 3px 3px 1px #9D7FA1">Text here.</p>
Dieser Text hat den Schatten in Farbe #9D7FA1.
.textShadow {text-shadow: 3px 3px 1px #9D7FA1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D7FA1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9D7FA1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D7FA1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D7FA1, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D7FA1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D7FA1; -webkit-box-shadow: 1px 1px 3px 2px #9D7FA1; box-shadow: 1px 1px 3px 2px #9D7FA1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D7FA1; -webkit-box-shadow: 1px 1px 3px 2px #9D7FA1; box-shadow:1px 1px 3px 2px #9D7FA1;">
Div content here</div>
Dieser Text ist in der Farbe #9D7FA1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9D7FA1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9D7FA1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9D7FA1.