HEX: #0C460C
RGB: (12,70,12)
#0C460C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #0C460C ist eine «websichere» Webfarbe #003300 (oder kurz #030).
Die Farbe #0C460C wird in RGB als (12,70,12) definiert.
RGB: (12,70,12) (5%,27%,5%)
R 12 von 255 = 5%
G 70 von 255 = 27%
B 12 von 255 = 5%
R + G + B ~ 12%. #0C460C dunkle Farbe.
R + G + B =
12 + 70 + 12 = 94 (100%)
R 12 von 94 ~ 12.77%
G 70 von 94 ~ 74.47%
B 12 von 94 ~ 12.77%
Die Farbe #0C460C wird in CMYK als (83,0,83,73) definiert.
CMYK: (83,0,83,73) C83M0Y83K73 (83%,0%,83%,73%) (0.83/0.00/0.83/0.73)
0C | 46 | 0C | |
---|---|---|---|
RGB | 12 | 70 | 12 |
HSL | 120° | 70.73% | 16.08% |
HSB/HSV | 120° | 82.86% | 27.45% |
CMYK | 82.86% | 0.00% | 82.86% |
72.55% |
Hexadezimal | 0C | 46 | 0C |
Dezimal | 12 | 70 | 12 |
Binär | 1100 | 1000110 | 1100 |
Oktal | 14 | 106 | 14 |
Beispiele css- und html für Elemente in der Farbe #0C460C. Bitte benutzen Sie auch rgb(12,70,12) statt hex-Code.
.myTextColor { color: #0C460C; }
<p style="color:#0C460C">This sample text font color is #0C460C.</p>
Die Farbe dieses Textes ist #0C460C.
.myBgColor { background-color: #0C460C; }
<div style="background-color:#0C460C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #0C460C.
.myBorderColor { border: 1px solid #0C460C; }
<div style="border:3px solid #0C460C">Div</div>
Die Grenzen von diesem div sind in Farbe #0C460C.
.myOpacity80 { color: #0C460C; opacity: 0.8; }
<p style="color:#0C460C;opacity:0.8;">80%</p>
Text in Farbe #0C460C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C460C;}
<p style="text-shadow: 3px 3px 1px #0C460C">Text here.</p>
Dieser Text hat den Schatten in Farbe #0C460C.
.textShadow {text-shadow: 3px 3px 1px #0C460C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C460C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #0C460C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C460C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C460C, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C460C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C460C; -webkit-box-shadow: 1px 1px 3px 2px #0C460C; box-shadow: 1px 1px 3px 2px #0C460C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C460C; -webkit-box-shadow: 1px 1px 3px 2px #0C460C; box-shadow:1px 1px 3px 2px #0C460C;">
Div content here</div>
Dieser Text ist in der Farbe #0C460C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #0C460C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #0C460C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #0C460C.