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