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