HEX: #DB0012
RGB: (219,0,18)
#DB0012 enthält hauptsächlich rote Farbe. Für #DB0012 ist eine «websichere» Webfarbe #CC0000 (oder kurz #C00).
Die Farbe #DB0012 wird in RGB als (219,0,18) definiert.
RGB: (219,0,18) (86%,0%,7%)
R 219 von 255 = 86%
G 0 von 255 = 0%
B 18 von 255 = 7%
R + G + B ~ 31%. #DB0012 ziemlich dunkle Farbe.
R + G + B =
219 + 0 + 18 = 237 (100%)
R 219 von 237 ~ 92.41%
G 0 von 237 ~ 0%
B 18 von 237 ~ 7.59%
Die Farbe #DB0012 wird in CMYK als (0,100,92,14) definiert.
CMYK: (0,100,92,14) C0M100Y92K14 (0%,100%,92%,14%) (0.00/1.00/0.92/0.14)
DB | 00 | 12 | |
---|---|---|---|
RGB | 219 | 0 | 18 |
HSL | 355° | 100.00% | 42.94% |
HSB/HSV | 355° | 100.00% | 85.88% |
CMYK | 0.00% | 100.00% | 91.78% |
14.12% |
Hexadezimal | DB | 00 | 12 |
Dezimal | 219 | 0 | 18 |
Binär | 11011011 | 0 | 10010 |
Oktal | 333 | 0 | 22 |
Beispiele css- und html für Elemente in der Farbe #DB0012. Bitte benutzen Sie auch rgb(219,0,18) statt hex-Code.
.myTextColor { color: #DB0012; }
<p style="color:#DB0012">This sample text font color is #DB0012.</p>
Die Farbe dieses Textes ist #DB0012.
.myBgColor { background-color: #DB0012; }
<div style="background-color:#DB0012">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #DB0012.
.myBorderColor { border: 1px solid #DB0012; }
<div style="border:3px solid #DB0012">Div</div>
Die Grenzen von diesem div sind in Farbe #DB0012.
.myOpacity80 { color: #DB0012; opacity: 0.8; }
<p style="color:#DB0012;opacity:0.8;">80%</p>
Text in Farbe #DB0012 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB0012;}
<p style="text-shadow: 3px 3px 1px #DB0012">Text here.</p>
Dieser Text hat den Schatten in Farbe #DB0012.
.textShadow {text-shadow: 3px 3px 1px #DB0012, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB0012, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #DB0012 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB0012, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB0012, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB0012 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB0012; -webkit-box-shadow: 1px 1px 3px 2px #DB0012; box-shadow: 1px 1px 3px 2px #DB0012; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB0012; -webkit-box-shadow: 1px 1px 3px 2px #DB0012; box-shadow:1px 1px 3px 2px #DB0012;">
Div content here</div>
Dieser Text ist in der Farbe #DB0012 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #DB0012 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #DB0012.
Dieser Text ist weiß auf dem Hintergrund in Farbe #DB0012.