HEX: #7F36A0
RGB: (127,54,160)
#7F36A0 enthält hauptsächlich rote und blaue Farbe. Für #7F36A0 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #7F36A0 wird in RGB als (127,54,160) definiert.
RGB: (127,54,160) (50%,21%,63%)
R 127 von 255 = 50%
G 54 von 255 = 21%
B 160 von 255 = 63%
R + G + B ~ 45%. #7F36A0 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
127 + 54 + 160 = 341 (100%)
R 127 von 341 ~ 37.24%
G 54 von 341 ~ 15.84%
B 160 von 341 ~ 46.92%
Die Farbe #7F36A0 wird in CMYK als (21,66,0,37) definiert.
CMYK: (21,66,0,37) C21M66Y0K37 (21%,66%,0%,37%) (0.21/0.66/0.00/0.37)
7F | 36 | A0 | |
---|---|---|---|
RGB | 127 | 54 | 160 |
HSL | 281° | 49.53% | 41.96% |
HSB/HSV | 281° | 66.25% | 62.75% |
CMYK | 20.63% | 66.25% | 0.00% |
37.25% |
Hexadezimal | 7F | 36 | A0 |
Dezimal | 127 | 54 | 160 |
Binär | 1111111 | 110110 | 10100000 |
Oktal | 177 | 66 | 240 |
Beispiele css- und html für Elemente in der Farbe #7F36A0. Bitte benutzen Sie auch rgb(127,54,160) statt hex-Code.
.myTextColor { color: #7F36A0; }
<p style="color:#7F36A0">This sample text font color is #7F36A0.</p>
Die Farbe dieses Textes ist #7F36A0.
.myBgColor { background-color: #7F36A0; }
<div style="background-color:#7F36A0">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F36A0.
.myBorderColor { border: 1px solid #7F36A0; }
<div style="border:3px solid #7F36A0">Div</div>
Die Grenzen von diesem div sind in Farbe #7F36A0.
.myOpacity80 { color: #7F36A0; opacity: 0.8; }
<p style="color:#7F36A0;opacity:0.8;">80%</p>
Text in Farbe #7F36A0 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F36A0;}
<p style="text-shadow: 3px 3px 1px #7F36A0">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F36A0.
.textShadow {text-shadow: 3px 3px 1px #7F36A0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F36A0, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F36A0 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F36A0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F36A0, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F36A0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F36A0; -webkit-box-shadow: 1px 1px 3px 2px #7F36A0; box-shadow: 1px 1px 3px 2px #7F36A0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F36A0; -webkit-box-shadow: 1px 1px 3px 2px #7F36A0; box-shadow:1px 1px 3px 2px #7F36A0;">
Div content here</div>
Dieser Text ist in der Farbe #7F36A0 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F36A0 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F36A0.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F36A0.