HEX: #521D8B
RGB: (82,29,139)
#521D8B enthält hauptsächlich rote und blaue Farbe. Für #521D8B ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #521D8B wird in RGB als (82,29,139) definiert.
RGB: (82,29,139) (32%,11%,55%)
R 82 von 255 = 32%
G 29 von 255 = 11%
B 139 von 255 = 55%
R + G + B ~ 33%. #521D8B ziemlich dunkle Farbe.
R + G + B =
82 + 29 + 139 = 250 (100%)
R 82 von 250 ~ 32.8%
G 29 von 250 ~ 11.6%
B 139 von 250 ~ 55.6%
Die Farbe #521D8B wird in CMYK als (41,79,0,45) definiert.
CMYK: (41,79,0,45) C41M79Y0K45 (41%,79%,0%,45%) (0.41/0.79/0.00/0.45)
52 | 1D | 8B | |
---|---|---|---|
RGB | 82 | 29 | 139 |
HSL | 269° | 65.48% | 32.94% |
HSB/HSV | 269° | 79.14% | 54.51% |
CMYK | 41.01% | 79.14% | 0.00% |
45.49% |
Hexadezimal | 52 | 1D | 8B |
Dezimal | 82 | 29 | 139 |
Binär | 1010010 | 11101 | 10001011 |
Oktal | 122 | 35 | 213 |
Beispiele css- und html für Elemente in der Farbe #521D8B. Bitte benutzen Sie auch rgb(82,29,139) statt hex-Code.
.myTextColor { color: #521D8B; }
<p style="color:#521D8B">This sample text font color is #521D8B.</p>
Die Farbe dieses Textes ist #521D8B.
.myBgColor { background-color: #521D8B; }
<div style="background-color:#521D8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #521D8B.
.myBorderColor { border: 1px solid #521D8B; }
<div style="border:3px solid #521D8B">Div</div>
Die Grenzen von diesem div sind in Farbe #521D8B.
.myOpacity80 { color: #521D8B; opacity: 0.8; }
<p style="color:#521D8B;opacity:0.8;">80%</p>
Text in Farbe #521D8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521D8B;}
<p style="text-shadow: 3px 3px 1px #521D8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #521D8B.
.textShadow {text-shadow: 3px 3px 1px #521D8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521D8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #521D8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521D8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521D8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #521D8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521D8B; -webkit-box-shadow: 1px 1px 3px 2px #521D8B; box-shadow: 1px 1px 3px 2px #521D8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521D8B; -webkit-box-shadow: 1px 1px 3px 2px #521D8B; box-shadow:1px 1px 3px 2px #521D8B;">
Div content here</div>
Dieser Text ist in der Farbe #521D8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #521D8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #521D8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #521D8B.