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