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