HEX: #5B51B3
RGB: (91,81,179)
#5B51B3 enthält hauptsächlich blaue Farbe. Für #5B51B3 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #5B51B3 wird in RGB als (91,81,179) definiert.
RGB: (91,81,179) (36%,32%,70%)
R 91 von 255 = 36%
G 81 von 255 = 32%
B 179 von 255 = 70%
R + G + B ~ 46%. #5B51B3 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
91 + 81 + 179 = 351 (100%)
R 91 von 351 ~ 25.93%
G 81 von 351 ~ 23.08%
B 179 von 351 ~ 51%
Die Farbe #5B51B3 wird in CMYK als (49,55,0,30) definiert.
CMYK: (49,55,0,30) C49M55Y0K30 (49%,55%,0%,30%) (0.49/0.55/0.00/0.30)
5B | 51 | B3 | |
---|---|---|---|
RGB | 91 | 81 | 179 |
HSL | 246° | 39.20% | 50.98% |
HSB/HSV | 246° | 54.75% | 70.20% |
CMYK | 49.16% | 54.75% | 0.00% |
29.80% |
Hexadezimal | 5B | 51 | B3 |
Dezimal | 91 | 81 | 179 |
Binär | 1011011 | 1010001 | 10110011 |
Oktal | 133 | 121 | 263 |
Beispiele css- und html für Elemente in der Farbe #5B51B3. Bitte benutzen Sie auch rgb(91,81,179) statt hex-Code.
.myTextColor { color: #5B51B3; }
<p style="color:#5B51B3">This sample text font color is #5B51B3.</p>
Die Farbe dieses Textes ist #5B51B3.
.myBgColor { background-color: #5B51B3; }
<div style="background-color:#5B51B3">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B51B3.
.myBorderColor { border: 1px solid #5B51B3; }
<div style="border:3px solid #5B51B3">Div</div>
Die Grenzen von diesem div sind in Farbe #5B51B3.
.myOpacity80 { color: #5B51B3; opacity: 0.8; }
<p style="color:#5B51B3;opacity:0.8;">80%</p>
Text in Farbe #5B51B3 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B51B3;}
<p style="text-shadow: 3px 3px 1px #5B51B3">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B51B3.
.textShadow {text-shadow: 3px 3px 1px #5B51B3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B51B3, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B51B3 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B51B3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B51B3, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B51B3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B51B3; -webkit-box-shadow: 1px 1px 3px 2px #5B51B3; box-shadow: 1px 1px 3px 2px #5B51B3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B51B3; -webkit-box-shadow: 1px 1px 3px 2px #5B51B3; box-shadow:1px 1px 3px 2px #5B51B3;">
Div content here</div>
Dieser Text ist in der Farbe #5B51B3 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B51B3 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B51B3.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B51B3.