HEX: #505951
RGB: (80,89,81)
#505951 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505951 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505951 wird in RGB als (80,89,81) definiert.
RGB: (80,89,81) (31%,35%,32%)
R 80 von 255 = 31%
G 89 von 255 = 35%
B 81 von 255 = 32%
R + G + B ~ 33%. #505951 ziemlich dunkle Farbe.
R + G + B =
80 + 89 + 81 = 250 (100%)
R 80 von 250 ~ 32%
G 89 von 250 ~ 35.6%
B 81 von 250 ~ 32.4%
Die Farbe #505951 wird in CMYK als (10,0,9,65) definiert.
CMYK: (10,0,9,65) C10M0Y9K65 (10%,0%,9%,65%) (0.10/0.00/0.09/0.65)
50 | 59 | 51 | |
---|---|---|---|
RGB | 80 | 89 | 81 |
HSL | 127° | 5.33% | 33.14% |
HSB/HSV | 127° | 10.11% | 34.90% |
CMYK | 10.11% | 0.00% | 8.99% |
65.10% |
Hexadezimal | 50 | 59 | 51 |
Dezimal | 80 | 89 | 81 |
Binär | 1010000 | 1011001 | 1010001 |
Oktal | 120 | 131 | 121 |
Beispiele css- und html für Elemente in der Farbe #505951. Bitte benutzen Sie auch rgb(80,89,81) statt hex-Code.
.myTextColor { color: #505951; }
<p style="color:#505951">This sample text font color is #505951.</p>
Die Farbe dieses Textes ist #505951.
.myBgColor { background-color: #505951; }
<div style="background-color:#505951">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505951.
.myBorderColor { border: 1px solid #505951; }
<div style="border:3px solid #505951">Div</div>
Die Grenzen von diesem div sind in Farbe #505951.
.myOpacity80 { color: #505951; opacity: 0.8; }
<p style="color:#505951;opacity:0.8;">80%</p>
Text in Farbe #505951 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505951;}
<p style="text-shadow: 3px 3px 1px #505951">Text here.</p>
Dieser Text hat den Schatten in Farbe #505951.
.textShadow {text-shadow: 3px 3px 1px #505951, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505951, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505951 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505951, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505951, Direction=45, Strength=4)">Text</p>
This text has shadow with #505951 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505951; -webkit-box-shadow: 1px 1px 3px 2px #505951; box-shadow: 1px 1px 3px 2px #505951; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505951; -webkit-box-shadow: 1px 1px 3px 2px #505951; box-shadow:1px 1px 3px 2px #505951;">
Div content here</div>
Dieser Text ist in der Farbe #505951 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505951 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505951.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505951.