HEX: #512E5A
RGB: (81,46,90)
#512E5A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #512E5A ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #512E5A wird in RGB als (81,46,90) definiert.
RGB: (81,46,90) (32%,18%,35%)
R 81 von 255 = 32%
G 46 von 255 = 18%
B 90 von 255 = 35%
R + G + B ~ 28%. #512E5A ziemlich dunkle Farbe.
R + G + B =
81 + 46 + 90 = 217 (100%)
R 81 von 217 ~ 37.33%
G 46 von 217 ~ 21.2%
B 90 von 217 ~ 41.47%
Die Farbe #512E5A wird in CMYK als (10,49,0,65) definiert.
CMYK: (10,49,0,65) C10M49Y0K65 (10%,49%,0%,65%) (0.10/0.49/0.00/0.65)
51 | 2E | 5A | |
---|---|---|---|
RGB | 81 | 46 | 90 |
HSL | 288° | 32.35% | 26.67% |
HSB/HSV | 288° | 48.89% | 35.29% |
CMYK | 10.00% | 48.89% | 0.00% |
64.71% |
Hexadezimal | 51 | 2E | 5A |
Dezimal | 81 | 46 | 90 |
Binär | 1010001 | 101110 | 1011010 |
Oktal | 121 | 56 | 132 |
Beispiele css- und html für Elemente in der Farbe #512E5A. Bitte benutzen Sie auch rgb(81,46,90) statt hex-Code.
.myTextColor { color: #512E5A; }
<p style="color:#512E5A">This sample text font color is #512E5A.</p>
Die Farbe dieses Textes ist #512E5A.
.myBgColor { background-color: #512E5A; }
<div style="background-color:#512E5A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #512E5A.
.myBorderColor { border: 1px solid #512E5A; }
<div style="border:3px solid #512E5A">Div</div>
Die Grenzen von diesem div sind in Farbe #512E5A.
.myOpacity80 { color: #512E5A; opacity: 0.8; }
<p style="color:#512E5A;opacity:0.8;">80%</p>
Text in Farbe #512E5A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #512E5A;}
<p style="text-shadow: 3px 3px 1px #512E5A">Text here.</p>
Dieser Text hat den Schatten in Farbe #512E5A.
.textShadow {text-shadow: 3px 3px 1px #512E5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #512E5A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #512E5A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#512E5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#512E5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #512E5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512E5A; -webkit-box-shadow: 1px 1px 3px 2px #512E5A; box-shadow: 1px 1px 3px 2px #512E5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #512E5A; -webkit-box-shadow: 1px 1px 3px 2px #512E5A; box-shadow:1px 1px 3px 2px #512E5A;">
Div content here</div>
Dieser Text ist in der Farbe #512E5A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #512E5A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #512E5A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #512E5A.