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