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