HEX: #514971
RGB: (81,73,113)
#514971 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #514971 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #514971 wird in RGB als (81,73,113) definiert.
RGB: (81,73,113) (32%,29%,44%)
R 81 von 255 = 32%
G 73 von 255 = 29%
B 113 von 255 = 44%
R + G + B ~ 35%. #514971 ziemlich dunkle Farbe.
R + G + B =
81 + 73 + 113 = 267 (100%)
R 81 von 267 ~ 30.34%
G 73 von 267 ~ 27.34%
B 113 von 267 ~ 42.32%
Die Farbe #514971 wird in CMYK als (28,35,0,56) definiert.
CMYK: (28,35,0,56) C28M35Y0K56 (28%,35%,0%,56%) (0.28/0.35/0.00/0.56)
51 | 49 | 71 | |
---|---|---|---|
RGB | 81 | 73 | 113 |
HSL | 252° | 21.51% | 36.47% |
HSB/HSV | 252° | 35.40% | 44.31% |
CMYK | 28.32% | 35.40% | 0.00% |
55.69% |
Hexadezimal | 51 | 49 | 71 |
Dezimal | 81 | 73 | 113 |
Binär | 1010001 | 1001001 | 1110001 |
Oktal | 121 | 111 | 161 |
Beispiele css- und html für Elemente in der Farbe #514971. Bitte benutzen Sie auch rgb(81,73,113) statt hex-Code.
.myTextColor { color: #514971; }
<p style="color:#514971">This sample text font color is #514971.</p>
Die Farbe dieses Textes ist #514971.
.myBgColor { background-color: #514971; }
<div style="background-color:#514971">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #514971.
.myBorderColor { border: 1px solid #514971; }
<div style="border:3px solid #514971">Div</div>
Die Grenzen von diesem div sind in Farbe #514971.
.myOpacity80 { color: #514971; opacity: 0.8; }
<p style="color:#514971;opacity:0.8;">80%</p>
Text in Farbe #514971 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #514971;}
<p style="text-shadow: 3px 3px 1px #514971">Text here.</p>
Dieser Text hat den Schatten in Farbe #514971.
.textShadow {text-shadow: 3px 3px 1px #514971, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #514971, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #514971 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#514971, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#514971, Direction=45, Strength=4)">Text</p>
This text has shadow with #514971 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #514971; -webkit-box-shadow: 1px 1px 3px 2px #514971; box-shadow: 1px 1px 3px 2px #514971; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #514971; -webkit-box-shadow: 1px 1px 3px 2px #514971; box-shadow:1px 1px 3px 2px #514971;">
Div content here</div>
Dieser Text ist in der Farbe #514971 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #514971 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #514971.
Dieser Text ist weiß auf dem Hintergrund in Farbe #514971.