HEX: #5B516C
RGB: (91,81,108)
#5B516C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #5B516C ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #5B516C wird in RGB als (91,81,108) definiert.
RGB: (91,81,108) (36%,32%,42%)
R 91 von 255 = 36%
G 81 von 255 = 32%
B 108 von 255 = 42%
R + G + B ~ 37%. #5B516C ziemlich dunkle Farbe.
R + G + B =
91 + 81 + 108 = 280 (100%)
R 91 von 280 ~ 32.5%
G 81 von 280 ~ 28.93%
B 108 von 280 ~ 38.57%
Die Farbe #5B516C wird in CMYK als (16,25,0,58) definiert.
CMYK: (16,25,0,58) C16M25Y0K58 (16%,25%,0%,58%) (0.16/0.25/0.00/0.58)
5B | 51 | 6C | |
---|---|---|---|
RGB | 91 | 81 | 108 |
HSL | 262° | 14.29% | 37.06% |
HSB/HSV | 262° | 25.00% | 42.35% |
CMYK | 15.74% | 25.00% | 0.00% |
57.65% |
Hexadezimal | 5B | 51 | 6C |
Dezimal | 91 | 81 | 108 |
Binär | 1011011 | 1010001 | 1101100 |
Oktal | 133 | 121 | 154 |
Beispiele css- und html für Elemente in der Farbe #5B516C. Bitte benutzen Sie auch rgb(91,81,108) statt hex-Code.
.myTextColor { color: #5B516C; }
<p style="color:#5B516C">This sample text font color is #5B516C.</p>
Die Farbe dieses Textes ist #5B516C.
.myBgColor { background-color: #5B516C; }
<div style="background-color:#5B516C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B516C.
.myBorderColor { border: 1px solid #5B516C; }
<div style="border:3px solid #5B516C">Div</div>
Die Grenzen von diesem div sind in Farbe #5B516C.
.myOpacity80 { color: #5B516C; opacity: 0.8; }
<p style="color:#5B516C;opacity:0.8;">80%</p>
Text in Farbe #5B516C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B516C;}
<p style="text-shadow: 3px 3px 1px #5B516C">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B516C.
.textShadow {text-shadow: 3px 3px 1px #5B516C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B516C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B516C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B516C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B516C, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B516C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B516C; -webkit-box-shadow: 1px 1px 3px 2px #5B516C; box-shadow: 1px 1px 3px 2px #5B516C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B516C; -webkit-box-shadow: 1px 1px 3px 2px #5B516C; box-shadow:1px 1px 3px 2px #5B516C;">
Div content here</div>
Dieser Text ist in der Farbe #5B516C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B516C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B516C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B516C.