HEX: #501B50
RGB: (80,27,80)
#501B50 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #501B50 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #501B50 wird in RGB als (80,27,80) definiert.
RGB: (80,27,80) (31%,11%,31%)
R 80 von 255 = 31%
G 27 von 255 = 11%
B 80 von 255 = 31%
R + G + B ~ 24%. #501B50 dunkle Farbe.
R + G + B =
80 + 27 + 80 = 187 (100%)
R 80 von 187 ~ 42.78%
G 27 von 187 ~ 14.44%
B 80 von 187 ~ 42.78%
Die Farbe #501B50 wird in CMYK als (0,66,0,69) definiert.
CMYK: (0,66,0,69) C0M66Y0K69 (0%,66%,0%,69%) (0.00/0.66/0.00/0.69)
50 | 1B | 50 | |
---|---|---|---|
RGB | 80 | 27 | 80 |
HSL | 300° | 49.53% | 20.98% |
HSB/HSV | 300° | 66.25% | 31.37% |
CMYK | 0.00% | 66.25% | 0.00% |
68.63% |
Hexadezimal | 50 | 1B | 50 |
Dezimal | 80 | 27 | 80 |
Binär | 1010000 | 11011 | 1010000 |
Oktal | 120 | 33 | 120 |
Beispiele css- und html für Elemente in der Farbe #501B50. Bitte benutzen Sie auch rgb(80,27,80) statt hex-Code.
.myTextColor { color: #501B50; }
<p style="color:#501B50">This sample text font color is #501B50.</p>
Die Farbe dieses Textes ist #501B50.
.myBgColor { background-color: #501B50; }
<div style="background-color:#501B50">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #501B50.
.myBorderColor { border: 1px solid #501B50; }
<div style="border:3px solid #501B50">Div</div>
Die Grenzen von diesem div sind in Farbe #501B50.
.myOpacity80 { color: #501B50; opacity: 0.8; }
<p style="color:#501B50;opacity:0.8;">80%</p>
Text in Farbe #501B50 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501B50;}
<p style="text-shadow: 3px 3px 1px #501B50">Text here.</p>
Dieser Text hat den Schatten in Farbe #501B50.
.textShadow {text-shadow: 3px 3px 1px #501B50, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501B50, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #501B50 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501B50, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501B50, Direction=45, Strength=4)">Text</p>
This text has shadow with #501B50 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501B50; -webkit-box-shadow: 1px 1px 3px 2px #501B50; box-shadow: 1px 1px 3px 2px #501B50; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501B50; -webkit-box-shadow: 1px 1px 3px 2px #501B50; box-shadow:1px 1px 3px 2px #501B50;">
Div content here</div>
Dieser Text ist in der Farbe #501B50 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #501B50 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #501B50.
Dieser Text ist weiß auf dem Hintergrund in Farbe #501B50.