HEX: #521E5B
RGB: (82,30,91)
#521E5B enthält hauptsächlich rote und blaue Farbe. Für #521E5B ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #521E5B wird in RGB als (82,30,91) definiert.
RGB: (82,30,91) (32%,12%,36%)
R 82 von 255 = 32%
G 30 von 255 = 12%
B 91 von 255 = 36%
R + G + B ~ 27%. #521E5B ziemlich dunkle Farbe.
R + G + B =
82 + 30 + 91 = 203 (100%)
R 82 von 203 ~ 40.39%
G 30 von 203 ~ 14.78%
B 91 von 203 ~ 44.83%
Die Farbe #521E5B wird in CMYK als (10,67,0,64) definiert.
CMYK: (10,67,0,64) C10M67Y0K64 (10%,67%,0%,64%) (0.10/0.67/0.00/0.64)
52 | 1E | 5B | |
---|---|---|---|
RGB | 82 | 30 | 91 |
HSL | 291° | 50.41% | 23.73% |
HSB/HSV | 291° | 67.03% | 35.69% |
CMYK | 9.89% | 67.03% | 0.00% |
64.31% |
Hexadezimal | 52 | 1E | 5B |
Dezimal | 82 | 30 | 91 |
Binär | 1010010 | 11110 | 1011011 |
Oktal | 122 | 36 | 133 |
Beispiele css- und html für Elemente in der Farbe #521E5B. Bitte benutzen Sie auch rgb(82,30,91) statt hex-Code.
.myTextColor { color: #521E5B; }
<p style="color:#521E5B">This sample text font color is #521E5B.</p>
Die Farbe dieses Textes ist #521E5B.
.myBgColor { background-color: #521E5B; }
<div style="background-color:#521E5B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #521E5B.
.myBorderColor { border: 1px solid #521E5B; }
<div style="border:3px solid #521E5B">Div</div>
Die Grenzen von diesem div sind in Farbe #521E5B.
.myOpacity80 { color: #521E5B; opacity: 0.8; }
<p style="color:#521E5B;opacity:0.8;">80%</p>
Text in Farbe #521E5B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521E5B;}
<p style="text-shadow: 3px 3px 1px #521E5B">Text here.</p>
Dieser Text hat den Schatten in Farbe #521E5B.
.textShadow {text-shadow: 3px 3px 1px #521E5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521E5B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #521E5B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521E5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521E5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #521E5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521E5B; -webkit-box-shadow: 1px 1px 3px 2px #521E5B; box-shadow: 1px 1px 3px 2px #521E5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521E5B; -webkit-box-shadow: 1px 1px 3px 2px #521E5B; box-shadow:1px 1px 3px 2px #521E5B;">
Div content here</div>
Dieser Text ist in der Farbe #521E5B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #521E5B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #521E5B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #521E5B.