HEX: #505D5B
RGB: (80,93,91)
#505D5B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505D5B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505D5B wird in RGB als (80,93,91) definiert.
RGB: (80,93,91) (31%,36%,36%)
R 80 von 255 = 31%
G 93 von 255 = 36%
B 91 von 255 = 36%
R + G + B ~ 34%. #505D5B ziemlich dunkle Farbe.
R + G + B =
80 + 93 + 91 = 264 (100%)
R 80 von 264 ~ 30.3%
G 93 von 264 ~ 35.23%
B 91 von 264 ~ 34.47%
Die Farbe #505D5B wird in CMYK als (14,0,2,64) definiert.
CMYK: (14,0,2,64) C14M0Y2K64 (14%,0%,2%,64%) (0.14/0.00/0.02/0.64)
50 | 5D | 5B | |
---|---|---|---|
RGB | 80 | 93 | 91 |
HSL | 171° | 7.51% | 33.92% |
HSB/HSV | 171° | 13.98% | 36.47% |
CMYK | 13.98% | 0.00% | 2.15% |
63.53% |
Hexadezimal | 50 | 5D | 5B |
Dezimal | 80 | 93 | 91 |
Binär | 1010000 | 1011101 | 1011011 |
Oktal | 120 | 135 | 133 |
Beispiele css- und html für Elemente in der Farbe #505D5B. Bitte benutzen Sie auch rgb(80,93,91) statt hex-Code.
.myTextColor { color: #505D5B; }
<p style="color:#505D5B">This sample text font color is #505D5B.</p>
Die Farbe dieses Textes ist #505D5B.
.myBgColor { background-color: #505D5B; }
<div style="background-color:#505D5B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505D5B.
.myBorderColor { border: 1px solid #505D5B; }
<div style="border:3px solid #505D5B">Div</div>
Die Grenzen von diesem div sind in Farbe #505D5B.
.myOpacity80 { color: #505D5B; opacity: 0.8; }
<p style="color:#505D5B;opacity:0.8;">80%</p>
Text in Farbe #505D5B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505D5B;}
<p style="text-shadow: 3px 3px 1px #505D5B">Text here.</p>
Dieser Text hat den Schatten in Farbe #505D5B.
.textShadow {text-shadow: 3px 3px 1px #505D5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505D5B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505D5B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505D5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505D5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #505D5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505D5B; -webkit-box-shadow: 1px 1px 3px 2px #505D5B; box-shadow: 1px 1px 3px 2px #505D5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505D5B; -webkit-box-shadow: 1px 1px 3px 2px #505D5B; box-shadow:1px 1px 3px 2px #505D5B;">
Div content here</div>
Dieser Text ist in der Farbe #505D5B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505D5B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505D5B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505D5B.