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