HEX: #520C5E
RGB: (82,12,94)
#520C5E enthält hauptsächlich rote und blaue Farbe. Für #520C5E ist eine «websichere» Webfarbe #660066 (oder kurz #606).
Die Farbe #520C5E wird in RGB als (82,12,94) definiert.
RGB: (82,12,94) (32%,5%,37%)
R 82 von 255 = 32%
G 12 von 255 = 5%
B 94 von 255 = 37%
R + G + B ~ 25%. #520C5E ziemlich dunkle Farbe.
R + G + B =
82 + 12 + 94 = 188 (100%)
R 82 von 188 ~ 43.62%
G 12 von 188 ~ 6.38%
B 94 von 188 ~ 50%
Die Farbe #520C5E wird in CMYK als (13,87,0,63) definiert.
CMYK: (13,87,0,63) C13M87Y0K63 (13%,87%,0%,63%) (0.13/0.87/0.00/0.63)
52 | 0C | 5E | |
---|---|---|---|
RGB | 82 | 12 | 94 |
HSL | 291° | 77.36% | 20.78% |
HSB/HSV | 291° | 87.23% | 36.86% |
CMYK | 12.77% | 87.23% | 0.00% |
63.14% |
Hexadezimal | 52 | 0C | 5E |
Dezimal | 82 | 12 | 94 |
Binär | 1010010 | 1100 | 1011110 |
Oktal | 122 | 14 | 136 |
Beispiele css- und html für Elemente in der Farbe #520C5E. Bitte benutzen Sie auch rgb(82,12,94) statt hex-Code.
.myTextColor { color: #520C5E; }
<p style="color:#520C5E">This sample text font color is #520C5E.</p>
Die Farbe dieses Textes ist #520C5E.
.myBgColor { background-color: #520C5E; }
<div style="background-color:#520C5E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #520C5E.
.myBorderColor { border: 1px solid #520C5E; }
<div style="border:3px solid #520C5E">Div</div>
Die Grenzen von diesem div sind in Farbe #520C5E.
.myOpacity80 { color: #520C5E; opacity: 0.8; }
<p style="color:#520C5E;opacity:0.8;">80%</p>
Text in Farbe #520C5E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520C5E;}
<p style="text-shadow: 3px 3px 1px #520C5E">Text here.</p>
Dieser Text hat den Schatten in Farbe #520C5E.
.textShadow {text-shadow: 3px 3px 1px #520C5E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520C5E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #520C5E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520C5E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520C5E, Direction=45, Strength=4)">Text</p>
This text has shadow with #520C5E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520C5E; -webkit-box-shadow: 1px 1px 3px 2px #520C5E; box-shadow: 1px 1px 3px 2px #520C5E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520C5E; -webkit-box-shadow: 1px 1px 3px 2px #520C5E; box-shadow:1px 1px 3px 2px #520C5E;">
Div content here</div>
Dieser Text ist in der Farbe #520C5E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #520C5E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #520C5E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #520C5E.