HEX: #5B506B
RGB: (91,80,107)
#5B506B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #5B506B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #5B506B wird in RGB als (91,80,107) definiert.
RGB: (91,80,107) (36%,31%,42%)
R 91 von 255 = 36%
G 80 von 255 = 31%
B 107 von 255 = 42%
R + G + B ~ 36%. #5B506B ziemlich dunkle Farbe.
R + G + B =
91 + 80 + 107 = 278 (100%)
R 91 von 278 ~ 32.73%
G 80 von 278 ~ 28.78%
B 107 von 278 ~ 38.49%
Die Farbe #5B506B wird in CMYK als (15,25,0,58) definiert.
CMYK: (15,25,0,58) C15M25Y0K58 (15%,25%,0%,58%) (0.15/0.25/0.00/0.58)
5B | 50 | 6B | |
---|---|---|---|
RGB | 91 | 80 | 107 |
HSL | 264° | 14.44% | 36.67% |
HSB/HSV | 264° | 25.23% | 41.96% |
CMYK | 14.95% | 25.23% | 0.00% |
58.04% |
Hexadezimal | 5B | 50 | 6B |
Dezimal | 91 | 80 | 107 |
Binär | 1011011 | 1010000 | 1101011 |
Oktal | 133 | 120 | 153 |
Beispiele css- und html für Elemente in der Farbe #5B506B. Bitte benutzen Sie auch rgb(91,80,107) statt hex-Code.
.myTextColor { color: #5B506B; }
<p style="color:#5B506B">This sample text font color is #5B506B.</p>
Die Farbe dieses Textes ist #5B506B.
.myBgColor { background-color: #5B506B; }
<div style="background-color:#5B506B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B506B.
.myBorderColor { border: 1px solid #5B506B; }
<div style="border:3px solid #5B506B">Div</div>
Die Grenzen von diesem div sind in Farbe #5B506B.
.myOpacity80 { color: #5B506B; opacity: 0.8; }
<p style="color:#5B506B;opacity:0.8;">80%</p>
Text in Farbe #5B506B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B506B;}
<p style="text-shadow: 3px 3px 1px #5B506B">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B506B.
.textShadow {text-shadow: 3px 3px 1px #5B506B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B506B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B506B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B506B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B506B, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B506B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B506B; -webkit-box-shadow: 1px 1px 3px 2px #5B506B; box-shadow: 1px 1px 3px 2px #5B506B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B506B; -webkit-box-shadow: 1px 1px 3px 2px #5B506B; box-shadow:1px 1px 3px 2px #5B506B;">
Div content here</div>
Dieser Text ist in der Farbe #5B506B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B506B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B506B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B506B.