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