HEX: #5B4B82
RGB: (91,75,130)
#5B4B82 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #5B4B82 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #5B4B82 wird in RGB als (91,75,130) definiert.
RGB: (91,75,130) (36%,29%,51%)
R 91 von 255 = 36%
G 75 von 255 = 29%
B 130 von 255 = 51%
R + G + B ~ 39%. #5B4B82 ziemlich dunkle Farbe.
R + G + B =
91 + 75 + 130 = 296 (100%)
R 91 von 296 ~ 30.74%
G 75 von 296 ~ 25.34%
B 130 von 296 ~ 43.92%
Die Farbe #5B4B82 wird in CMYK als (30,42,0,49) definiert.
CMYK: (30,42,0,49) C30M42Y0K49 (30%,42%,0%,49%) (0.30/0.42/0.00/0.49)
5B | 4B | 82 | |
---|---|---|---|
RGB | 91 | 75 | 130 |
HSL | 257° | 26.83% | 40.20% |
HSB/HSV | 257° | 42.31% | 50.98% |
CMYK | 30.00% | 42.31% | 0.00% |
49.02% |
Hexadezimal | 5B | 4B | 82 |
Dezimal | 91 | 75 | 130 |
Binär | 1011011 | 1001011 | 10000010 |
Oktal | 133 | 113 | 202 |
Beispiele css- und html für Elemente in der Farbe #5B4B82. Bitte benutzen Sie auch rgb(91,75,130) statt hex-Code.
.myTextColor { color: #5B4B82; }
<p style="color:#5B4B82">This sample text font color is #5B4B82.</p>
Die Farbe dieses Textes ist #5B4B82.
.myBgColor { background-color: #5B4B82; }
<div style="background-color:#5B4B82">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5B4B82.
.myBorderColor { border: 1px solid #5B4B82; }
<div style="border:3px solid #5B4B82">Div</div>
Die Grenzen von diesem div sind in Farbe #5B4B82.
.myOpacity80 { color: #5B4B82; opacity: 0.8; }
<p style="color:#5B4B82;opacity:0.8;">80%</p>
Text in Farbe #5B4B82 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B4B82;}
<p style="text-shadow: 3px 3px 1px #5B4B82">Text here.</p>
Dieser Text hat den Schatten in Farbe #5B4B82.
.textShadow {text-shadow: 3px 3px 1px #5B4B82, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B4B82, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5B4B82 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B4B82, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B4B82, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B4B82 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B4B82; -webkit-box-shadow: 1px 1px 3px 2px #5B4B82; box-shadow: 1px 1px 3px 2px #5B4B82; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B4B82; -webkit-box-shadow: 1px 1px 3px 2px #5B4B82; box-shadow:1px 1px 3px 2px #5B4B82;">
Div content here</div>
Dieser Text ist in der Farbe #5B4B82 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5B4B82 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5B4B82.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5B4B82.