HEX: #5B5199
RGB: (91,81,153)
#5B5199 enthält hauptsächlich blaue Farbe. Für #5B5199 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #5B5199 wird in RGB als (91,81,153) definiert.
RGB: (91,81,153) (36%,32%,60%)
R 91 von 255 = 36%
G 81 von 255 = 32%
B 153 von 255 = 60%
R + G + B ~ 43%. #5B5199 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
91 + 81 + 153 = 325 (100%)
R 91 von 325 ~ 28%
G 81 von 325 ~ 24.92%
B 153 von 325 ~ 47.08%
Die Farbe #5B5199 wird in CMYK als (41,47,0,40) definiert.
CMYK: (41,47,0,40) C41M47Y0K40 (41%,47%,0%,40%) (0.41/0.47/0.00/0.40)
5B | 51 | 99 | |
---|---|---|---|
RGB | 91 | 81 | 153 |
HSL | 248° | 30.77% | 45.88% |
HSB/HSV | 248° | 47.06% | 60.00% |
CMYK | 40.52% | 47.06% | 0.00% |
40.00% |
Hexadezimal | 5B | 51 | 99 |
Dezimal | 91 | 81 | 153 |
Binär | 1011011 | 1010001 | 10011001 |
Oktal | 133 | 121 | 231 |
Beispiele css- und html für Elemente in der Farbe #5B5199. Bitte benutzen Sie auch rgb(91,81,153) statt hex-Code.
.myTextColor { color: #5B5199; }
<p style="color:#5B5199">This sample text font color is #5B5199.</p>
Die Farbe dieses Textes ist #5B5199.
.myBgColor { background-color: #5B5199; }
<div style="background-color:#5B5199">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B5199.
.myBorderColor { border: 1px solid #5B5199; }
<div style="border:3px solid #5B5199">Div</div>
Die Grenzen von diesem div sind in Farbe #5B5199.
.myOpacity80 { color: #5B5199; opacity: 0.8; }
<p style="color:#5B5199;opacity:0.8;">80%</p>
Text in Farbe #5B5199 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B5199;}
<p style="text-shadow: 3px 3px 1px #5B5199">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B5199.
.textShadow {text-shadow: 3px 3px 1px #5B5199, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B5199, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B5199 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B5199, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B5199, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B5199 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B5199; -webkit-box-shadow: 1px 1px 3px 2px #5B5199; box-shadow: 1px 1px 3px 2px #5B5199; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B5199; -webkit-box-shadow: 1px 1px 3px 2px #5B5199; box-shadow:1px 1px 3px 2px #5B5199;">
Div content here</div>
Dieser Text ist in der Farbe #5B5199 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B5199 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B5199.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B5199.