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