HEX: #040004
RGB: (4,0,4)
#040004 enthält nur rote und blaue Farbe. Für #040004 ist eine «websichere» Webfarbe #000000 (oder kurz #000).
Die Farbe #040004 wird in RGB als (4,0,4) definiert.
RGB: (4,0,4) (2%,0%,2%)
R 4 von 255 = 2%
G 0 von 255 = 0%
B 4 von 255 = 2%
R + G + B ~ 1%. #040004 dunkle Farbe.
R + G + B =
4 + 0 + 4 = 8 (100%)
R 4 von 8 ~ 50%
G 0 von 8 ~ 0%
B 4 von 8 ~ 50%
Die Farbe #040004 wird in CMYK als (0,100,0,98) definiert.
CMYK: (0,100,0,98) C0M100Y0K98 (0%,100%,0%,98%) (0.00/1.00/0.00/0.98)
04 | 00 | 04 | |
---|---|---|---|
RGB | 4 | 0 | 4 |
HSL | 300° | 100.00% | 0.78% |
HSB/HSV | 300° | 100.00% | 1.57% |
CMYK | 0.00% | 100.00% | 0.00% |
98.43% |
Hexadezimal | 04 | 00 | 04 |
Dezimal | 4 | 0 | 4 |
Binär | 100 | 0 | 100 |
Oktal | 4 | 0 | 4 |
Beispiele css- und html für Elemente in der Farbe #040004. Bitte benutzen Sie auch rgb(4,0,4) statt hex-Code.
.myTextColor { color: #040004; }
<p style="color:#040004">This sample text font color is #040004.</p>
Die Farbe dieses Textes ist #040004.
.myBgColor { background-color: #040004; }
<div style="background-color:#040004">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #040004.
.myBorderColor { border: 1px solid #040004; }
<div style="border:3px solid #040004">Div</div>
Die Grenzen von diesem div sind in Farbe #040004.
.myOpacity80 { color: #040004; opacity: 0.8; }
<p style="color:#040004;opacity:0.8;">80%</p>
Text in Farbe #040004 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040004;}
<p style="text-shadow: 3px 3px 1px #040004">Text here.</p>
Dieser Text hat den Schatten in Farbe #040004.
.textShadow {text-shadow: 3px 3px 1px #040004, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040004, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #040004 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040004, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040004, Direction=45, Strength=4)">Text</p>
This text has shadow with #040004 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040004; -webkit-box-shadow: 1px 1px 3px 2px #040004; box-shadow: 1px 1px 3px 2px #040004; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040004; -webkit-box-shadow: 1px 1px 3px 2px #040004; box-shadow:1px 1px 3px 2px #040004;">
Div content here</div>
Dieser Text ist in der Farbe #040004 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #040004 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #040004.
Dieser Text ist weiß auf dem Hintergrund in Farbe #040004.