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