HEX: #060C21
RGB: (6,12,33)
#060C21 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #060C21 ist eine «websichere» Webfarbe #000033 (oder kurz #003).
Die Farbe #060C21 wird in RGB als (6,12,33) definiert.
RGB: (6,12,33) (2%,5%,13%)
R 6 von 255 = 2%
G 12 von 255 = 5%
B 33 von 255 = 13%
R + G + B ~ 7%. #060C21 dunkle Farbe.
R + G + B =
6 + 12 + 33 = 51 (100%)
R 6 von 51 ~ 11.76%
G 12 von 51 ~ 23.53%
B 33 von 51 ~ 64.71%
Die Farbe #060C21 wird in CMYK als (82,64,0,87) definiert.
CMYK: (82,64,0,87) C82M64Y0K87 (82%,64%,0%,87%) (0.82/0.64/0.00/0.87)
06 | 0C | 21 | |
---|---|---|---|
RGB | 6 | 12 | 33 |
HSL | 227° | 69.23% | 7.65% |
HSB/HSV | 227° | 81.82% | 12.94% |
CMYK | 81.82% | 63.64% | 0.00% |
87.06% |
Hexadezimal | 06 | 0C | 21 |
Dezimal | 6 | 12 | 33 |
Binär | 110 | 1100 | 100001 |
Oktal | 6 | 14 | 41 |
Beispiele css- und html für Elemente in der Farbe #060C21. Bitte benutzen Sie auch rgb(6,12,33) statt hex-Code.
.myTextColor { color: #060C21; }
<p style="color:#060C21">This sample text font color is #060C21.</p>
Die Farbe dieses Textes ist #060C21.
.myBgColor { background-color: #060C21; }
<div style="background-color:#060C21">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #060C21.
.myBorderColor { border: 1px solid #060C21; }
<div style="border:3px solid #060C21">Div</div>
Die Grenzen von diesem div sind in Farbe #060C21.
.myOpacity80 { color: #060C21; opacity: 0.8; }
<p style="color:#060C21;opacity:0.8;">80%</p>
Text in Farbe #060C21 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #060C21;}
<p style="text-shadow: 3px 3px 1px #060C21">Text here.</p>
Dieser Text hat den Schatten in Farbe #060C21.
.textShadow {text-shadow: 3px 3px 1px #060C21, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #060C21, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #060C21 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#060C21, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#060C21, Direction=45, Strength=4)">Text</p>
This text has shadow with #060C21 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #060C21; -webkit-box-shadow: 1px 1px 3px 2px #060C21; box-shadow: 1px 1px 3px 2px #060C21; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #060C21; -webkit-box-shadow: 1px 1px 3px 2px #060C21; box-shadow:1px 1px 3px 2px #060C21;">
Div content here</div>
Dieser Text ist in der Farbe #060C21 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #060C21 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #060C21.
Dieser Text ist weiß auf dem Hintergrund in Farbe #060C21.