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