HEX: #51497E
RGB: (81,73,126)
#51497E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #51497E ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #51497E wird in RGB als (81,73,126) definiert.
RGB: (81,73,126) (32%,29%,49%)
R 81 von 255 = 32%
G 73 von 255 = 29%
B 126 von 255 = 49%
R + G + B ~ 37%. #51497E ziemlich dunkle Farbe.
R + G + B =
81 + 73 + 126 = 280 (100%)
R 81 von 280 ~ 28.93%
G 73 von 280 ~ 26.07%
B 126 von 280 ~ 45%
Die Farbe #51497E wird in CMYK als (36,42,0,51) definiert.
CMYK: (36,42,0,51) C36M42Y0K51 (36%,42%,0%,51%) (0.36/0.42/0.00/0.51)
51 | 49 | 7E | |
---|---|---|---|
RGB | 81 | 73 | 126 |
HSL | 249° | 26.63% | 39.02% |
HSB/HSV | 249° | 42.06% | 49.41% |
CMYK | 35.71% | 42.06% | 0.00% |
50.59% |
Hexadezimal | 51 | 49 | 7E |
Dezimal | 81 | 73 | 126 |
Binär | 1010001 | 1001001 | 1111110 |
Oktal | 121 | 111 | 176 |
Beispiele css- und html für Elemente in der Farbe #51497E. Bitte benutzen Sie auch rgb(81,73,126) statt hex-Code.
.myTextColor { color: #51497E; }
<p style="color:#51497E">This sample text font color is #51497E.</p>
Die Farbe dieses Textes ist #51497E.
.myBgColor { background-color: #51497E; }
<div style="background-color:#51497E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51497E.
.myBorderColor { border: 1px solid #51497E; }
<div style="border:3px solid #51497E">Div</div>
Die Grenzen von diesem div sind in Farbe #51497E.
.myOpacity80 { color: #51497E; opacity: 0.8; }
<p style="color:#51497E;opacity:0.8;">80%</p>
Text in Farbe #51497E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51497E;}
<p style="text-shadow: 3px 3px 1px #51497E">Text here.</p>
Dieser Text hat den Schatten in Farbe #51497E.
.textShadow {text-shadow: 3px 3px 1px #51497E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51497E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51497E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51497E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51497E, Direction=45, Strength=4)">Text</p>
This text has shadow with #51497E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51497E; -webkit-box-shadow: 1px 1px 3px 2px #51497E; box-shadow: 1px 1px 3px 2px #51497E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51497E; -webkit-box-shadow: 1px 1px 3px 2px #51497E; box-shadow:1px 1px 3px 2px #51497E;">
Div content here</div>
Dieser Text ist in der Farbe #51497E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51497E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51497E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51497E.