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