HEX: #506A6B
RGB: (80,106,107)
#506A6B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #506A6B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #506A6B wird in RGB als (80,106,107) definiert.
RGB: (80,106,107) (31%,42%,42%)
R 80 von 255 = 31%
G 106 von 255 = 42%
B 107 von 255 = 42%
R + G + B ~ 38%. #506A6B ziemlich dunkle Farbe.
R + G + B =
80 + 106 + 107 = 293 (100%)
R 80 von 293 ~ 27.3%
G 106 von 293 ~ 36.18%
B 107 von 293 ~ 36.52%
Die Farbe #506A6B wird in CMYK als (25,1,0,58) definiert.
CMYK: (25,1,0,58) C25M1Y0K58 (25%,1%,0%,58%) (0.25/0.01/0.00/0.58)
50 | 6A | 6B | |
---|---|---|---|
RGB | 80 | 106 | 107 |
HSL | 182° | 14.44% | 36.67% |
HSB/HSV | 182° | 25.23% | 41.96% |
CMYK | 25.23% | 0.93% | 0.00% |
58.04% |
Hexadezimal | 50 | 6A | 6B |
Dezimal | 80 | 106 | 107 |
Binär | 1010000 | 1101010 | 1101011 |
Oktal | 120 | 152 | 153 |
Beispiele css- und html für Elemente in der Farbe #506A6B. Bitte benutzen Sie auch rgb(80,106,107) statt hex-Code.
.myTextColor { color: #506A6B; }
<p style="color:#506A6B">This sample text font color is #506A6B.</p>
Die Farbe dieses Textes ist #506A6B.
.myBgColor { background-color: #506A6B; }
<div style="background-color:#506A6B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #506A6B.
.myBorderColor { border: 1px solid #506A6B; }
<div style="border:3px solid #506A6B">Div</div>
Die Grenzen von diesem div sind in Farbe #506A6B.
.myOpacity80 { color: #506A6B; opacity: 0.8; }
<p style="color:#506A6B;opacity:0.8;">80%</p>
Text in Farbe #506A6B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506A6B;}
<p style="text-shadow: 3px 3px 1px #506A6B">Text here.</p>
Dieser Text hat den Schatten in Farbe #506A6B.
.textShadow {text-shadow: 3px 3px 1px #506A6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506A6B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #506A6B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506A6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506A6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #506A6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506A6B; -webkit-box-shadow: 1px 1px 3px 2px #506A6B; box-shadow: 1px 1px 3px 2px #506A6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506A6B; -webkit-box-shadow: 1px 1px 3px 2px #506A6B; box-shadow:1px 1px 3px 2px #506A6B;">
Div content here</div>
Dieser Text ist in der Farbe #506A6B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #506A6B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #506A6B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #506A6B.