HEX: #5B3196
RGB: (91,49,150)
#5B3196 enthält hauptsächlich rote und blaue Farbe. Für #5B3196 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #5B3196 wird in RGB als (91,49,150) definiert.
RGB: (91,49,150) (36%,19%,59%)
R 91 von 255 = 36%
G 49 von 255 = 19%
B 150 von 255 = 59%
R + G + B ~ 38%. #5B3196 ziemlich dunkle Farbe.
R + G + B =
91 + 49 + 150 = 290 (100%)
R 91 von 290 ~ 31.38%
G 49 von 290 ~ 16.9%
B 150 von 290 ~ 51.72%
Die Farbe #5B3196 wird in CMYK als (39,67,0,41) definiert.
CMYK: (39,67,0,41) C39M67Y0K41 (39%,67%,0%,41%) (0.39/0.67/0.00/0.41)
5B | 31 | 96 | |
---|---|---|---|
RGB | 91 | 49 | 150 |
HSL | 265° | 50.75% | 39.02% |
HSB/HSV | 265° | 67.33% | 58.82% |
CMYK | 39.33% | 67.33% | 0.00% |
41.18% |
Hexadezimal | 5B | 31 | 96 |
Dezimal | 91 | 49 | 150 |
Binär | 1011011 | 110001 | 10010110 |
Oktal | 133 | 61 | 226 |
Beispiele css- und html für Elemente in der Farbe #5B3196. Bitte benutzen Sie auch rgb(91,49,150) statt hex-Code.
.myTextColor { color: #5B3196; }
<p style="color:#5B3196">This sample text font color is #5B3196.</p>
Die Farbe dieses Textes ist #5B3196.
.myBgColor { background-color: #5B3196; }
<div style="background-color:#5B3196">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B3196.
.myBorderColor { border: 1px solid #5B3196; }
<div style="border:3px solid #5B3196">Div</div>
Die Grenzen von diesem div sind in Farbe #5B3196.
.myOpacity80 { color: #5B3196; opacity: 0.8; }
<p style="color:#5B3196;opacity:0.8;">80%</p>
Text in Farbe #5B3196 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B3196;}
<p style="text-shadow: 3px 3px 1px #5B3196">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B3196.
.textShadow {text-shadow: 3px 3px 1px #5B3196, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B3196, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B3196 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B3196, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B3196, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B3196 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B3196; -webkit-box-shadow: 1px 1px 3px 2px #5B3196; box-shadow: 1px 1px 3px 2px #5B3196; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B3196; -webkit-box-shadow: 1px 1px 3px 2px #5B3196; box-shadow:1px 1px 3px 2px #5B3196;">
Div content here</div>
Dieser Text ist in der Farbe #5B3196 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B3196 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B3196.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B3196.