HEX: #507D78
RGB: (80,125,120)
#507D78 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #507D78 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #507D78 wird in RGB als (80,125,120) definiert.
RGB: (80,125,120) (31%,49%,47%)
R 80 von 255 = 31%
G 125 von 255 = 49%
B 120 von 255 = 47%
R + G + B ~ 42%. #507D78 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 125 + 120 = 325 (100%)
R 80 von 325 ~ 24.62%
G 125 von 325 ~ 38.46%
B 120 von 325 ~ 36.92%
Die Farbe #507D78 wird in CMYK als (36,0,4,51) definiert.
CMYK: (36,0,4,51) C36M0Y4K51 (36%,0%,4%,51%) (0.36/0.00/0.04/0.51)
50 | 7D | 78 | |
---|---|---|---|
RGB | 80 | 125 | 120 |
HSL | 173° | 21.95% | 40.20% |
HSB/HSV | 173° | 36.00% | 49.02% |
CMYK | 36.00% | 0.00% | 4.00% |
50.98% |
Hexadezimal | 50 | 7D | 78 |
Dezimal | 80 | 125 | 120 |
Binär | 1010000 | 1111101 | 1111000 |
Oktal | 120 | 175 | 170 |
Beispiele css- und html für Elemente in der Farbe #507D78. Bitte benutzen Sie auch rgb(80,125,120) statt hex-Code.
.myTextColor { color: #507D78; }
<p style="color:#507D78">This sample text font color is #507D78.</p>
Die Farbe dieses Textes ist #507D78.
.myBgColor { background-color: #507D78; }
<div style="background-color:#507D78">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #507D78.
.myBorderColor { border: 1px solid #507D78; }
<div style="border:3px solid #507D78">Div</div>
Die Grenzen von diesem div sind in Farbe #507D78.
.myOpacity80 { color: #507D78; opacity: 0.8; }
<p style="color:#507D78;opacity:0.8;">80%</p>
Text in Farbe #507D78 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507D78;}
<p style="text-shadow: 3px 3px 1px #507D78">Text here.</p>
Dieser Text hat den Schatten in Farbe #507D78.
.textShadow {text-shadow: 3px 3px 1px #507D78, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507D78, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #507D78 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507D78, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507D78, Direction=45, Strength=4)">Text</p>
This text has shadow with #507D78 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507D78; -webkit-box-shadow: 1px 1px 3px 2px #507D78; box-shadow: 1px 1px 3px 2px #507D78; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507D78; -webkit-box-shadow: 1px 1px 3px 2px #507D78; box-shadow:1px 1px 3px 2px #507D78;">
Div content here</div>
Dieser Text ist in der Farbe #507D78 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #507D78 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #507D78.
Dieser Text ist weiß auf dem Hintergrund in Farbe #507D78.