HEX: #506A7E
RGB: (80,106,126)
#506A7E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #506A7E ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #506A7E wird in RGB als (80,106,126) definiert.
RGB: (80,106,126) (31%,42%,49%)
R 80 von 255 = 31%
G 106 von 255 = 42%
B 126 von 255 = 49%
R + G + B ~ 41%. #506A7E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 106 + 126 = 312 (100%)
R 80 von 312 ~ 25.64%
G 106 von 312 ~ 33.97%
B 126 von 312 ~ 40.38%
Die Farbe #506A7E wird in CMYK als (37,16,0,51) definiert.
CMYK: (37,16,0,51) C37M16Y0K51 (37%,16%,0%,51%) (0.37/0.16/0.00/0.51)
50 | 6A | 7E | |
---|---|---|---|
RGB | 80 | 106 | 126 |
HSL | 206° | 22.33% | 40.39% |
HSB/HSV | 206° | 36.51% | 49.41% |
CMYK | 36.51% | 15.87% | 0.00% |
50.59% |
Hexadezimal | 50 | 6A | 7E |
Dezimal | 80 | 106 | 126 |
Binär | 1010000 | 1101010 | 1111110 |
Oktal | 120 | 152 | 176 |
Beispiele css- und html für Elemente in der Farbe #506A7E. Bitte benutzen Sie auch rgb(80,106,126) statt hex-Code.
.myTextColor { color: #506A7E; }
<p style="color:#506A7E">This sample text font color is #506A7E.</p>
Die Farbe dieses Textes ist #506A7E.
.myBgColor { background-color: #506A7E; }
<div style="background-color:#506A7E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #506A7E.
.myBorderColor { border: 1px solid #506A7E; }
<div style="border:3px solid #506A7E">Div</div>
Die Grenzen von diesem div sind in Farbe #506A7E.
.myOpacity80 { color: #506A7E; opacity: 0.8; }
<p style="color:#506A7E;opacity:0.8;">80%</p>
Text in Farbe #506A7E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506A7E;}
<p style="text-shadow: 3px 3px 1px #506A7E">Text here.</p>
Dieser Text hat den Schatten in Farbe #506A7E.
.textShadow {text-shadow: 3px 3px 1px #506A7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506A7E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #506A7E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506A7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506A7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #506A7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506A7E; -webkit-box-shadow: 1px 1px 3px 2px #506A7E; box-shadow: 1px 1px 3px 2px #506A7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506A7E; -webkit-box-shadow: 1px 1px 3px 2px #506A7E; box-shadow:1px 1px 3px 2px #506A7E;">
Div content here</div>
Dieser Text ist in der Farbe #506A7E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #506A7E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #506A7E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #506A7E.