HEX: #51558B
RGB: (81,85,139)
#51558B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #51558B ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #51558B wird in RGB als (81,85,139) definiert.
RGB: (81,85,139) (32%,33%,55%)
R 81 von 255 = 32%
G 85 von 255 = 33%
B 139 von 255 = 55%
R + G + B ~ 40%. #51558B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 85 + 139 = 305 (100%)
R 81 von 305 ~ 26.56%
G 85 von 305 ~ 27.87%
B 139 von 305 ~ 45.57%
Die Farbe #51558B wird in CMYK als (42,39,0,45) definiert.
CMYK: (42,39,0,45) C42M39Y0K45 (42%,39%,0%,45%) (0.42/0.39/0.00/0.45)
51 | 55 | 8B | |
---|---|---|---|
RGB | 81 | 85 | 139 |
HSL | 236° | 26.36% | 43.14% |
HSB/HSV | 236° | 41.73% | 54.51% |
CMYK | 41.73% | 38.85% | 0.00% |
45.49% |
Hexadezimal | 51 | 55 | 8B |
Dezimal | 81 | 85 | 139 |
Binär | 1010001 | 1010101 | 10001011 |
Oktal | 121 | 125 | 213 |
Beispiele css- und html für Elemente in der Farbe #51558B. Bitte benutzen Sie auch rgb(81,85,139) statt hex-Code.
.myTextColor { color: #51558B; }
<p style="color:#51558B">This sample text font color is #51558B.</p>
Die Farbe dieses Textes ist #51558B.
.myBgColor { background-color: #51558B; }
<div style="background-color:#51558B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51558B.
.myBorderColor { border: 1px solid #51558B; }
<div style="border:3px solid #51558B">Div</div>
Die Grenzen von diesem div sind in Farbe #51558B.
.myOpacity80 { color: #51558B; opacity: 0.8; }
<p style="color:#51558B;opacity:0.8;">80%</p>
Text in Farbe #51558B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51558B;}
<p style="text-shadow: 3px 3px 1px #51558B">Text here.</p>
Dieser Text hat den Schatten in Farbe #51558B.
.textShadow {text-shadow: 3px 3px 1px #51558B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51558B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51558B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51558B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51558B, Direction=45, Strength=4)">Text</p>
This text has shadow with #51558B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51558B; -webkit-box-shadow: 1px 1px 3px 2px #51558B; box-shadow: 1px 1px 3px 2px #51558B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51558B; -webkit-box-shadow: 1px 1px 3px 2px #51558B; box-shadow:1px 1px 3px 2px #51558B;">
Div content here</div>
Dieser Text ist in der Farbe #51558B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51558B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51558B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51558B.