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