HEX: #507E8B
RGB: (80,126,139)
#507E8B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #507E8B ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #507E8B wird in RGB als (80,126,139) definiert.
RGB: (80,126,139) (31%,49%,55%)
R 80 von 255 = 31%
G 126 von 255 = 49%
B 139 von 255 = 55%
R + G + B ~ 45%. #507E8B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 126 + 139 = 345 (100%)
R 80 von 345 ~ 23.19%
G 126 von 345 ~ 36.52%
B 139 von 345 ~ 40.29%
Die Farbe #507E8B wird in CMYK als (42,9,0,45) definiert.
CMYK: (42,9,0,45) C42M9Y0K45 (42%,9%,0%,45%) (0.42/0.09/0.00/0.45)
50 | 7E | 8B | |
---|---|---|---|
RGB | 80 | 126 | 139 |
HSL | 193° | 26.94% | 42.94% |
HSB/HSV | 193° | 42.45% | 54.51% |
CMYK | 42.45% | 9.35% | 0.00% |
45.49% |
Hexadezimal | 50 | 7E | 8B |
Dezimal | 80 | 126 | 139 |
Binär | 1010000 | 1111110 | 10001011 |
Oktal | 120 | 176 | 213 |
Beispiele css- und html für Elemente in der Farbe #507E8B. Bitte benutzen Sie auch rgb(80,126,139) statt hex-Code.
.myTextColor { color: #507E8B; }
<p style="color:#507E8B">This sample text font color is #507E8B.</p>
Die Farbe dieses Textes ist #507E8B.
.myBgColor { background-color: #507E8B; }
<div style="background-color:#507E8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #507E8B.
.myBorderColor { border: 1px solid #507E8B; }
<div style="border:3px solid #507E8B">Div</div>
Die Grenzen von diesem div sind in Farbe #507E8B.
.myOpacity80 { color: #507E8B; opacity: 0.8; }
<p style="color:#507E8B;opacity:0.8;">80%</p>
Text in Farbe #507E8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507E8B;}
<p style="text-shadow: 3px 3px 1px #507E8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #507E8B.
.textShadow {text-shadow: 3px 3px 1px #507E8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507E8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #507E8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507E8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507E8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #507E8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507E8B; -webkit-box-shadow: 1px 1px 3px 2px #507E8B; box-shadow: 1px 1px 3px 2px #507E8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507E8B; -webkit-box-shadow: 1px 1px 3px 2px #507E8B; box-shadow:1px 1px 3px 2px #507E8B;">
Div content here</div>
Dieser Text ist in der Farbe #507E8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #507E8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #507E8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #507E8B.