HEX: #513E72
RGB: (81,62,114)
#513E72 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #513E72 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #513E72 wird in RGB als (81,62,114) definiert.
RGB: (81,62,114) (32%,24%,45%)
R 81 von 255 = 32%
G 62 von 255 = 24%
B 114 von 255 = 45%
R + G + B ~ 34%. #513E72 ziemlich dunkle Farbe.
R + G + B =
81 + 62 + 114 = 257 (100%)
R 81 von 257 ~ 31.52%
G 62 von 257 ~ 24.12%
B 114 von 257 ~ 44.36%
Die Farbe #513E72 wird in CMYK als (29,46,0,55) definiert.
CMYK: (29,46,0,55) C29M46Y0K55 (29%,46%,0%,55%) (0.29/0.46/0.00/0.55)
51 | 3E | 72 | |
---|---|---|---|
RGB | 81 | 62 | 114 |
HSL | 262° | 29.55% | 34.51% |
HSB/HSV | 262° | 45.61% | 44.71% |
CMYK | 28.95% | 45.61% | 0.00% |
55.29% |
Hexadezimal | 51 | 3E | 72 |
Dezimal | 81 | 62 | 114 |
Binär | 1010001 | 111110 | 1110010 |
Oktal | 121 | 76 | 162 |
Beispiele css- und html für Elemente in der Farbe #513E72. Bitte benutzen Sie auch rgb(81,62,114) statt hex-Code.
.myTextColor { color: #513E72; }
<p style="color:#513E72">This sample text font color is #513E72.</p>
Die Farbe dieses Textes ist #513E72.
.myBgColor { background-color: #513E72; }
<div style="background-color:#513E72">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #513E72.
.myBorderColor { border: 1px solid #513E72; }
<div style="border:3px solid #513E72">Div</div>
Die Grenzen von diesem div sind in Farbe #513E72.
.myOpacity80 { color: #513E72; opacity: 0.8; }
<p style="color:#513E72;opacity:0.8;">80%</p>
Text in Farbe #513E72 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513E72;}
<p style="text-shadow: 3px 3px 1px #513E72">Text here.</p>
Dieser Text hat den Schatten in Farbe #513E72.
.textShadow {text-shadow: 3px 3px 1px #513E72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513E72, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #513E72 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513E72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513E72, Direction=45, Strength=4)">Text</p>
This text has shadow with #513E72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513E72; -webkit-box-shadow: 1px 1px 3px 2px #513E72; box-shadow: 1px 1px 3px 2px #513E72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513E72; -webkit-box-shadow: 1px 1px 3px 2px #513E72; box-shadow:1px 1px 3px 2px #513E72;">
Div content here</div>
Dieser Text ist in der Farbe #513E72 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #513E72 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #513E72.
Dieser Text ist weiß auf dem Hintergrund in Farbe #513E72.