HEX: #512D7B
RGB: (81,45,123)
#512D7B enthält hauptsächlich rote und blaue Farbe. Für #512D7B ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #512D7B wird in RGB als (81,45,123) definiert.
RGB: (81,45,123)
(32%, 18%, 48%)
R 81 von 255 = 32%
G 45 von 255 = 18%
B 123 von 255 = 48%
R + G + B ~ 33%. #512D7B ziemlich dunkle Farbe.
R + G + B = 81 + 45 + 123 = 249 (100%)
R 81 von 249 ~ 32.53%
G 45 von 249 ~ 18.07%
B 123 von 249 ~ 49.4'%
Die Farbe #512D7B wird in CMYK als (34,63,0,52) definiert.
CMYK: (34,63,0,52)
C34M63Y0K52 (34%, 63%, 0%, 52%)
(0.34 / 0.63 / 0.00 / 0.52)
Farbe #512D7B in den populären Farbmodellen.
51 | 2D | 7B | |
---|---|---|---|
RGB | 81 | 45 | 123 |
HSL | 268° | 46.43% | 32.94% |
HSB/HSV | 268° | 63.41% | 48.24% |
CMYK | 34.15% | 63.41% | 0.00% |
51.76% |
Die Farbe #512D7B in den populären Zahlensystemen.
Hexadezimal | 51 | 2D | 7B |
Dezimal | 81 | 45 | 123 |
Binär | 1010001 | 101101 | 1111011 |
Oktal | 121 | 55 | 173 |
Dunkle Töne der Farbe #512D7B
Helle Töne der Farbe #512D7B
Beispiele css- und html für Elemente in der Farbe #512D7B. Bitte benutzen Sie auch rgb(81,45,123) statt hex-Code.
.myTextColor { color: #512D7B; }
<p style="color:#512D7B">This sample text font color is #512D7B.</p>
Die Farbe dieses Textes ist #512D7B.
.myBgColor { background-color: #512D7B; }
<div style="background-color:#512D7B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #512D7B.
.myBorderColor { border: 1px solid #512D7B; }
<div style="border:3px solid #512D7B">Div</div>
Die Grenzen von diesem div sind in Farbe #512D7B.
.myOpacity80 { color: #512D7B; opacity: 0.8; }
<p style="color:#512D7B;opacity:0.8;">80%</p>
Text in Farbe #512D7B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512D7B;}
<p style="text-shadow: 3px 3px 1px #512D7B">Text here.</p>
Dieser Text hat den Schatten in Farbe #512D7B.
.textShadow {text-shadow: 3px 3px 1px #512D7B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512D7B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #512D7B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512D7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512D7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #512D7B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #512D7B;
-webkit-box-shadow: 1px 1px 3px 2px #512D7B;
box-shadow: 1px 1px 3px 2px #512D7B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #512D7B; -webkit-box-shadow: 1px 1px 3px 2px #512D7B; box-shadow:1px 1px 3px 2px #512D7B;">
Div content here
</div>
Dieser Text ist in der Farbe #512D7B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #512D7B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #512D7B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #512D7B.
Kontrastfarbe für #hex ist #AED284.