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