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