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