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