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