HEX: #505D7B
RGB: (80,93,123)
#505D7B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505D7B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505D7B wird in RGB als (80,93,123) definiert.
RGB: (80,93,123) (31%,36%,48%)
R 80 von 255 = 31%
G 93 von 255 = 36%
B 123 von 255 = 48%
R + G + B ~ 38%. #505D7B ziemlich dunkle Farbe.
R + G + B =
80 + 93 + 123 = 296 (100%)
R 80 von 296 ~ 27.03%
G 93 von 296 ~ 31.42%
B 123 von 296 ~ 41.55%
Die Farbe #505D7B wird in CMYK als (35,24,0,52) definiert.
CMYK: (35,24,0,52) C35M24Y0K52 (35%,24%,0%,52%) (0.35/0.24/0.00/0.52)
50 | 5D | 7B | |
---|---|---|---|
RGB | 80 | 93 | 123 |
HSL | 222° | 21.18% | 39.80% |
HSB/HSV | 222° | 34.96% | 48.24% |
CMYK | 34.96% | 24.39% | 0.00% |
51.76% |
Hexadezimal | 50 | 5D | 7B |
Dezimal | 80 | 93 | 123 |
Binär | 1010000 | 1011101 | 1111011 |
Oktal | 120 | 135 | 173 |
Beispiele css- und html für Elemente in der Farbe #505D7B. Bitte benutzen Sie auch rgb(80,93,123) statt hex-Code.
.myTextColor { color: #505D7B; }
<p style="color:#505D7B">This sample text font color is #505D7B.</p>
Die Farbe dieses Textes ist #505D7B.
.myBgColor { background-color: #505D7B; }
<div style="background-color:#505D7B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505D7B.
.myBorderColor { border: 1px solid #505D7B; }
<div style="border:3px solid #505D7B">Div</div>
Die Grenzen von diesem div sind in Farbe #505D7B.
.myOpacity80 { color: #505D7B; opacity: 0.8; }
<p style="color:#505D7B;opacity:0.8;">80%</p>
Text in Farbe #505D7B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505D7B;}
<p style="text-shadow: 3px 3px 1px #505D7B">Text here.</p>
Dieser Text hat den Schatten in Farbe #505D7B.
.textShadow {text-shadow: 3px 3px 1px #505D7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505D7B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505D7B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505D7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505D7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #505D7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505D7B; -webkit-box-shadow: 1px 1px 3px 2px #505D7B; box-shadow: 1px 1px 3px 2px #505D7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505D7B; -webkit-box-shadow: 1px 1px 3px 2px #505D7B; box-shadow:1px 1px 3px 2px #505D7B;">
Div content here</div>
Dieser Text ist in der Farbe #505D7B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505D7B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505D7B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505D7B.