HEX: #505B6F
RGB: (80,91,111)
#505B6F enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505B6F ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505B6F wird in RGB als (80,91,111) definiert.
RGB: (80,91,111) (31%,36%,44%)
R 80 von 255 = 31%
G 91 von 255 = 36%
B 111 von 255 = 44%
R + G + B ~ 37%. #505B6F ziemlich dunkle Farbe.
R + G + B =
80 + 91 + 111 = 282 (100%)
R 80 von 282 ~ 28.37%
G 91 von 282 ~ 32.27%
B 111 von 282 ~ 39.36%
Die Farbe #505B6F wird in CMYK als (28,18,0,56) definiert.
CMYK: (28,18,0,56) C28M18Y0K56 (28%,18%,0%,56%) (0.28/0.18/0.00/0.56)
50 | 5B | 6F | |
---|---|---|---|
RGB | 80 | 91 | 111 |
HSL | 219° | 16.23% | 37.45% |
HSB/HSV | 219° | 27.93% | 43.53% |
CMYK | 27.93% | 18.02% | 0.00% |
56.47% |
Hexadezimal | 50 | 5B | 6F |
Dezimal | 80 | 91 | 111 |
Binär | 1010000 | 1011011 | 1101111 |
Oktal | 120 | 133 | 157 |
Beispiele css- und html für Elemente in der Farbe #505B6F. Bitte benutzen Sie auch rgb(80,91,111) statt hex-Code.
.myTextColor { color: #505B6F; }
<p style="color:#505B6F">This sample text font color is #505B6F.</p>
Die Farbe dieses Textes ist #505B6F.
.myBgColor { background-color: #505B6F; }
<div style="background-color:#505B6F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505B6F.
.myBorderColor { border: 1px solid #505B6F; }
<div style="border:3px solid #505B6F">Div</div>
Die Grenzen von diesem div sind in Farbe #505B6F.
.myOpacity80 { color: #505B6F; opacity: 0.8; }
<p style="color:#505B6F;opacity:0.8;">80%</p>
Text in Farbe #505B6F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505B6F;}
<p style="text-shadow: 3px 3px 1px #505B6F">Text here.</p>
Dieser Text hat den Schatten in Farbe #505B6F.
.textShadow {text-shadow: 3px 3px 1px #505B6F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505B6F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505B6F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505B6F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505B6F, Direction=45, Strength=4)">Text</p>
This text has shadow with #505B6F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505B6F; -webkit-box-shadow: 1px 1px 3px 2px #505B6F; box-shadow: 1px 1px 3px 2px #505B6F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505B6F; -webkit-box-shadow: 1px 1px 3px 2px #505B6F; box-shadow:1px 1px 3px 2px #505B6F;">
Div content here</div>
Dieser Text ist in der Farbe #505B6F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505B6F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505B6F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505B6F.