HEX: #512580
RGB: (81,37,128)
#512580 enthält hauptsächlich rote und blaue Farbe. Für #512580 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #512580 wird in RGB als (81,37,128) definiert.
RGB: (81,37,128) (32%,15%,50%)
R 81 von 255 = 32%
G 37 von 255 = 15%
B 128 von 255 = 50%
R + G + B ~ 32%. #512580 ziemlich dunkle Farbe.
R + G + B =
81 + 37 + 128 = 246 (100%)
R 81 von 246 ~ 32.93%
G 37 von 246 ~ 15.04%
B 128 von 246 ~ 52.03%
Die Farbe #512580 wird in CMYK als (37,71,0,50) definiert.
CMYK: (37,71,0,50) C37M71Y0K50 (37%,71%,0%,50%) (0.37/0.71/0.00/0.50)
51 | 25 | 80 | |
---|---|---|---|
RGB | 81 | 37 | 128 |
HSL | 269° | 55.15% | 32.35% |
HSB/HSV | 269° | 71.09% | 50.20% |
CMYK | 36.72% | 71.09% | 0.00% |
49.80% |
Hexadezimal | 51 | 25 | 80 |
Dezimal | 81 | 37 | 128 |
Binär | 1010001 | 100101 | 10000000 |
Oktal | 121 | 45 | 200 |
Beispiele css- und html für Elemente in der Farbe #512580. Bitte benutzen Sie auch rgb(81,37,128) statt hex-Code.
.myTextColor { color: #512580; }
<p style="color:#512580">This sample text font color is #512580.</p>
Die Farbe dieses Textes ist #512580.
.myBgColor { background-color: #512580; }
<div style="background-color:#512580">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #512580.
.myBorderColor { border: 1px solid #512580; }
<div style="border:3px solid #512580">Div</div>
Die Grenzen von diesem div sind in Farbe #512580.
.myOpacity80 { color: #512580; opacity: 0.8; }
<p style="color:#512580;opacity:0.8;">80%</p>
Text in Farbe #512580 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512580;}
<p style="text-shadow: 3px 3px 1px #512580">Text here.</p>
Dieser Text hat den Schatten in Farbe #512580.
.textShadow {text-shadow: 3px 3px 1px #512580, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512580, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #512580 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512580, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512580, Direction=45, Strength=4)">Text</p>
This text has shadow with #512580 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512580; -webkit-box-shadow: 1px 1px 3px 2px #512580; box-shadow: 1px 1px 3px 2px #512580; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #512580; -webkit-box-shadow: 1px 1px 3px 2px #512580; box-shadow:1px 1px 3px 2px #512580;">
Div content here</div>
Dieser Text ist in der Farbe #512580 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #512580 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #512580.
Dieser Text ist weiß auf dem Hintergrund in Farbe #512580.