HEX: #512040
RGB: (81,32,64)
#512040 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #512040 ist eine «websichere» Webfarbe #663333 (oder kurz #633).
Die Farbe #512040 wird in RGB als (81,32,64) definiert.
RGB: (81,32,64) (32%,13%,25%)
R 81 von 255 = 32%
G 32 von 255 = 13%
B 64 von 255 = 25%
R + G + B ~ 23%. #512040 dunkle Farbe.
R + G + B =
81 + 32 + 64 = 177 (100%)
R 81 von 177 ~ 45.76%
G 32 von 177 ~ 18.08%
B 64 von 177 ~ 36.16%
Die Farbe #512040 wird in CMYK als (0,60,21,68) definiert.
CMYK: (0,60,21,68) C0M60Y21K68 (0%,60%,21%,68%) (0.00/0.60/0.21/0.68)
51 | 20 | 40 | |
---|---|---|---|
RGB | 81 | 32 | 64 |
HSL | 321° | 43.36% | 22.16% |
HSB/HSV | 321° | 60.49% | 31.76% |
CMYK | 0.00% | 60.49% | 20.99% |
68.24% |
Hexadezimal | 51 | 20 | 40 |
Dezimal | 81 | 32 | 64 |
Binär | 1010001 | 100000 | 1000000 |
Oktal | 121 | 40 | 100 |
Beispiele css- und html für Elemente in der Farbe #512040. Bitte benutzen Sie auch rgb(81,32,64) statt hex-Code.
.myTextColor { color: #512040; }
<p style="color:#512040">This sample text font color is #512040.</p>
Die Farbe dieses Textes ist #512040.
.myBgColor { background-color: #512040; }
<div style="background-color:#512040">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #512040.
.myBorderColor { border: 1px solid #512040; }
<div style="border:3px solid #512040">Div</div>
Die Grenzen von diesem div sind in Farbe #512040.
.myOpacity80 { color: #512040; opacity: 0.8; }
<p style="color:#512040;opacity:0.8;">80%</p>
Text in Farbe #512040 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512040;}
<p style="text-shadow: 3px 3px 1px #512040">Text here.</p>
Dieser Text hat den Schatten in Farbe #512040.
.textShadow {text-shadow: 3px 3px 1px #512040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512040, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #512040 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512040, Direction=45, Strength=4)">Text</p>
This text has shadow with #512040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512040; -webkit-box-shadow: 1px 1px 3px 2px #512040; box-shadow: 1px 1px 3px 2px #512040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #512040; -webkit-box-shadow: 1px 1px 3px 2px #512040; box-shadow:1px 1px 3px 2px #512040;">
Div content here</div>
Dieser Text ist in der Farbe #512040 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #512040 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #512040.
Dieser Text ist weiß auf dem Hintergrund in Farbe #512040.