HEX: #D51F1F
RGB: (213,31,31)
#D51F1F enthält hauptsächlich rote Farbe. Für #D51F1F ist eine «websichere» Webfarbe #CC3333 (oder kurz #C33).
Die Farbe #D51F1F wird in RGB als (213,31,31) definiert.
RGB: (213,31,31) (84%,12%,12%)
R 213 von 255 = 84%
G 31 von 255 = 12%
B 31 von 255 = 12%
R + G + B ~ 36%. #D51F1F ziemlich dunkle Farbe.
R + G + B =
213 + 31 + 31 = 275 (100%)
R 213 von 275 ~ 77.45%
G 31 von 275 ~ 11.27%
B 31 von 275 ~ 11.27%
Die Farbe #D51F1F wird in CMYK als (0,85,85,16) definiert.
CMYK: (0,85,85,16) C0M85Y85K16 (0%,85%,85%,16%) (0.00/0.85/0.85/0.16)
D5 | 1F | 1F | |
---|---|---|---|
RGB | 213 | 31 | 31 |
HSL | 0° | 74.59% | 47.84% |
HSB/HSV | 0° | 85.45% | 83.53% |
CMYK | 0.00% | 85.45% | 85.45% |
16.47% |
Hexadezimal | D5 | 1F | 1F |
Dezimal | 213 | 31 | 31 |
Binär | 11010101 | 11111 | 11111 |
Oktal | 325 | 37 | 37 |
Beispiele css- und html für Elemente in der Farbe #D51F1F. Bitte benutzen Sie auch rgb(213,31,31) statt hex-Code.
.myTextColor { color: #D51F1F; }
<p style="color:#D51F1F">This sample text font color is #D51F1F.</p>
Die Farbe dieses Textes ist #D51F1F.
.myBgColor { background-color: #D51F1F; }
<div style="background-color:#D51F1F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D51F1F.
.myBorderColor { border: 1px solid #D51F1F; }
<div style="border:3px solid #D51F1F">Div</div>
Die Grenzen von diesem div sind in Farbe #D51F1F.
.myOpacity80 { color: #D51F1F; opacity: 0.8; }
<p style="color:#D51F1F;opacity:0.8;">80%</p>
Text in Farbe #D51F1F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D51F1F;}
<p style="text-shadow: 3px 3px 1px #D51F1F">Text here.</p>
Dieser Text hat den Schatten in Farbe #D51F1F.
.textShadow {text-shadow: 3px 3px 1px #D51F1F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D51F1F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D51F1F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D51F1F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D51F1F, Direction=45, Strength=4)">Text</p>
This text has shadow with #D51F1F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D51F1F; -webkit-box-shadow: 1px 1px 3px 2px #D51F1F; box-shadow: 1px 1px 3px 2px #D51F1F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D51F1F; -webkit-box-shadow: 1px 1px 3px 2px #D51F1F; box-shadow:1px 1px 3px 2px #D51F1F;">
Div content here</div>
Dieser Text ist in der Farbe #D51F1F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D51F1F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D51F1F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D51F1F.