HEX: #505C56
RGB: (80,92,86)
#505C56 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505C56 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505C56 wird in RGB als (80,92,86) definiert.
RGB: (80,92,86) (31%,36%,34%)
R 80 von 255 = 31%
G 92 von 255 = 36%
B 86 von 255 = 34%
R + G + B ~ 34%. #505C56 ziemlich dunkle Farbe.
R + G + B =
80 + 92 + 86 = 258 (100%)
R 80 von 258 ~ 31.01%
G 92 von 258 ~ 35.66%
B 86 von 258 ~ 33.33%
Die Farbe #505C56 wird in CMYK als (13,0,7,64) definiert.
CMYK: (13,0,7,64) C13M0Y7K64 (13%,0%,7%,64%) (0.13/0.00/0.07/0.64)
50 | 5C | 56 | |
---|---|---|---|
RGB | 80 | 92 | 86 |
HSL | 150° | 6.98% | 33.73% |
HSB/HSV | 150° | 13.04% | 36.08% |
CMYK | 13.04% | 0.00% | 6.52% |
63.92% |
Hexadezimal | 50 | 5C | 56 |
Dezimal | 80 | 92 | 86 |
Binär | 1010000 | 1011100 | 1010110 |
Oktal | 120 | 134 | 126 |
Beispiele css- und html für Elemente in der Farbe #505C56. Bitte benutzen Sie auch rgb(80,92,86) statt hex-Code.
.myTextColor { color: #505C56; }
<p style="color:#505C56">This sample text font color is #505C56.</p>
Die Farbe dieses Textes ist #505C56.
.myBgColor { background-color: #505C56; }
<div style="background-color:#505C56">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505C56.
.myBorderColor { border: 1px solid #505C56; }
<div style="border:3px solid #505C56">Div</div>
Die Grenzen von diesem div sind in Farbe #505C56.
.myOpacity80 { color: #505C56; opacity: 0.8; }
<p style="color:#505C56;opacity:0.8;">80%</p>
Text in Farbe #505C56 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505C56;}
<p style="text-shadow: 3px 3px 1px #505C56">Text here.</p>
Dieser Text hat den Schatten in Farbe #505C56.
.textShadow {text-shadow: 3px 3px 1px #505C56, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505C56, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505C56 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505C56, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505C56, Direction=45, Strength=4)">Text</p>
This text has shadow with #505C56 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505C56; -webkit-box-shadow: 1px 1px 3px 2px #505C56; box-shadow: 1px 1px 3px 2px #505C56; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505C56; -webkit-box-shadow: 1px 1px 3px 2px #505C56; box-shadow:1px 1px 3px 2px #505C56;">
Div content here</div>
Dieser Text ist in der Farbe #505C56 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505C56 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505C56.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505C56.