HEX: #0C0300
RGB: (12,3,0)
#0C0300 enthält nur rote und grüne Farbe. Für #0C0300 ist eine «websichere» Webfarbe #000000 (oder kurz #000).
Die Farbe #0C0300 wird in RGB als (12,3,0) definiert.
RGB: (12,3,0) (5%,1%,0%)
R 12 von 255 = 5%
G 3 von 255 = 1%
B 0 von 255 = 0%
R + G + B ~ 2%. #0C0300 dunkle Farbe.
R + G + B =
12 + 3 + 0 = 15 (100%)
R 12 von 15 ~ 80%
G 3 von 15 ~ 20%
B 0 von 15 ~ 0%
Die Farbe #0C0300 wird in CMYK als (0,75,100,95) definiert.
CMYK: (0,75,100,95) C0M75Y100K95 (0%,75%,100%,95%) (0.00/0.75/1.00/0.95)
0C | 03 | 00 | |
---|---|---|---|
RGB | 12 | 3 | 0 |
HSL | 15° | 100.00% | 2.35% |
HSB/HSV | 15° | 100.00% | 4.71% |
CMYK | 0.00% | 75.00% | 100.00% |
95.29% |
Hexadezimal | 0C | 03 | 00 |
Dezimal | 12 | 3 | 0 |
Binär | 1100 | 11 | 0 |
Oktal | 14 | 3 | 0 |
Beispiele css- und html für Elemente in der Farbe #0C0300. Bitte benutzen Sie auch rgb(12,3,0) statt hex-Code.
.myTextColor { color: #0C0300; }
<p style="color:#0C0300">This sample text font color is #0C0300.</p>
Die Farbe dieses Textes ist #0C0300.
.myBgColor { background-color: #0C0300; }
<div style="background-color:#0C0300">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #0C0300.
.myBorderColor { border: 1px solid #0C0300; }
<div style="border:3px solid #0C0300">Div</div>
Die Grenzen von diesem div sind in Farbe #0C0300.
.myOpacity80 { color: #0C0300; opacity: 0.8; }
<p style="color:#0C0300;opacity:0.8;">80%</p>
Text in Farbe #0C0300 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C0300;}
<p style="text-shadow: 3px 3px 1px #0C0300">Text here.</p>
Dieser Text hat den Schatten in Farbe #0C0300.
.textShadow {text-shadow: 3px 3px 1px #0C0300, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C0300, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #0C0300 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C0300, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C0300, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C0300 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C0300; -webkit-box-shadow: 1px 1px 3px 2px #0C0300; box-shadow: 1px 1px 3px 2px #0C0300; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C0300; -webkit-box-shadow: 1px 1px 3px 2px #0C0300; box-shadow:1px 1px 3px 2px #0C0300;">
Div content here</div>
Dieser Text ist in der Farbe #0C0300 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #0C0300 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #0C0300.
Dieser Text ist weiß auf dem Hintergrund in Farbe #0C0300.