HEX: #520D6C
RGB: (82,13,108)
#520D6C enthält hauptsächlich rote und blaue Farbe. Für #520D6C ist eine «websichere» Webfarbe #660066 (oder kurz #606).
Die Farbe #520D6C wird in RGB als (82,13,108) definiert.
RGB: (82,13,108) (32%,5%,42%)
R 82 von 255 = 32%
G 13 von 255 = 5%
B 108 von 255 = 42%
R + G + B ~ 26%. #520D6C ziemlich dunkle Farbe.
R + G + B =
82 + 13 + 108 = 203 (100%)
R 82 von 203 ~ 40.39%
G 13 von 203 ~ 6.4%
B 108 von 203 ~ 53.2%
Die Farbe #520D6C wird in CMYK als (24,88,0,58) definiert.
CMYK: (24,88,0,58) C24M88Y0K58 (24%,88%,0%,58%) (0.24/0.88/0.00/0.58)
52 | 0D | 6C | |
---|---|---|---|
RGB | 82 | 13 | 108 |
HSL | 284° | 78.51% | 23.73% |
HSB/HSV | 284° | 87.96% | 42.35% |
CMYK | 24.07% | 87.96% | 0.00% |
57.65% |
Hexadezimal | 52 | 0D | 6C |
Dezimal | 82 | 13 | 108 |
Binär | 1010010 | 1101 | 1101100 |
Oktal | 122 | 15 | 154 |
Beispiele css- und html für Elemente in der Farbe #520D6C. Bitte benutzen Sie auch rgb(82,13,108) statt hex-Code.
.myTextColor { color: #520D6C; }
<p style="color:#520D6C">This sample text font color is #520D6C.</p>
Die Farbe dieses Textes ist #520D6C.
.myBgColor { background-color: #520D6C; }
<div style="background-color:#520D6C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #520D6C.
.myBorderColor { border: 1px solid #520D6C; }
<div style="border:3px solid #520D6C">Div</div>
Die Grenzen von diesem div sind in Farbe #520D6C.
.myOpacity80 { color: #520D6C; opacity: 0.8; }
<p style="color:#520D6C;opacity:0.8;">80%</p>
Text in Farbe #520D6C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520D6C;}
<p style="text-shadow: 3px 3px 1px #520D6C">Text here.</p>
Dieser Text hat den Schatten in Farbe #520D6C.
.textShadow {text-shadow: 3px 3px 1px #520D6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520D6C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #520D6C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520D6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520D6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #520D6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520D6C; -webkit-box-shadow: 1px 1px 3px 2px #520D6C; box-shadow: 1px 1px 3px 2px #520D6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520D6C; -webkit-box-shadow: 1px 1px 3px 2px #520D6C; box-shadow:1px 1px 3px 2px #520D6C;">
Div content here</div>
Dieser Text ist in der Farbe #520D6C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #520D6C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #520D6C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #520D6C.