HEX: #515981
RGB: (81,89,129)
#515981 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #515981 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #515981 wird in RGB als (81,89,129) definiert.
RGB: (81,89,129) (32%,35%,51%)
R 81 von 255 = 32%
G 89 von 255 = 35%
B 129 von 255 = 51%
R + G + B ~ 39%. #515981 ziemlich dunkle Farbe.
R + G + B =
81 + 89 + 129 = 299 (100%)
R 81 von 299 ~ 27.09%
G 89 von 299 ~ 29.77%
B 129 von 299 ~ 43.14%
Die Farbe #515981 wird in CMYK als (37,31,0,49) definiert.
CMYK: (37,31,0,49) C37M31Y0K49 (37%,31%,0%,49%) (0.37/0.31/0.00/0.49)
51 | 59 | 81 | |
---|---|---|---|
RGB | 81 | 89 | 129 |
HSL | 230° | 22.86% | 41.18% |
HSB/HSV | 230° | 37.21% | 50.59% |
CMYK | 37.21% | 31.01% | 0.00% |
49.41% |
Hexadezimal | 51 | 59 | 81 |
Dezimal | 81 | 89 | 129 |
Binär | 1010001 | 1011001 | 10000001 |
Oktal | 121 | 131 | 201 |
Beispiele css- und html für Elemente in der Farbe #515981. Bitte benutzen Sie auch rgb(81,89,129) statt hex-Code.
.myTextColor { color: #515981; }
<p style="color:#515981">This sample text font color is #515981.</p>
Die Farbe dieses Textes ist #515981.
.myBgColor { background-color: #515981; }
<div style="background-color:#515981">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #515981.
.myBorderColor { border: 1px solid #515981; }
<div style="border:3px solid #515981">Div</div>
Die Grenzen von diesem div sind in Farbe #515981.
.myOpacity80 { color: #515981; opacity: 0.8; }
<p style="color:#515981;opacity:0.8;">80%</p>
Text in Farbe #515981 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515981;}
<p style="text-shadow: 3px 3px 1px #515981">Text here.</p>
Dieser Text hat den Schatten in Farbe #515981.
.textShadow {text-shadow: 3px 3px 1px #515981, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515981, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #515981 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515981, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515981, Direction=45, Strength=4)">Text</p>
This text has shadow with #515981 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515981; -webkit-box-shadow: 1px 1px 3px 2px #515981; box-shadow: 1px 1px 3px 2px #515981; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515981; -webkit-box-shadow: 1px 1px 3px 2px #515981; box-shadow:1px 1px 3px 2px #515981;">
Div content here</div>
Dieser Text ist in der Farbe #515981 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #515981 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #515981.
Dieser Text ist weiß auf dem Hintergrund in Farbe #515981.