HEX: #511B52
RGB: (81,27,82)
#511B52 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #511B52 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #511B52 wird in RGB als (81,27,82) definiert.
RGB: (81,27,82) (32%,11%,32%)
R 81 von 255 = 32%
G 27 von 255 = 11%
B 82 von 255 = 32%
R + G + B ~ 25%. #511B52 ziemlich dunkle Farbe.
R + G + B =
81 + 27 + 82 = 190 (100%)
R 81 von 190 ~ 42.63%
G 27 von 190 ~ 14.21%
B 82 von 190 ~ 43.16%
Die Farbe #511B52 wird in CMYK als (1,67,0,68) definiert.
CMYK: (1,67,0,68) C1M67Y0K68 (1%,67%,0%,68%) (0.01/0.67/0.00/0.68)
51 | 1B | 52 | |
---|---|---|---|
RGB | 81 | 27 | 82 |
HSL | 299° | 50.46% | 21.37% |
HSB/HSV | 299° | 67.07% | 32.16% |
CMYK | 1.22% | 67.07% | 0.00% |
67.84% |
Hexadezimal | 51 | 1B | 52 |
Dezimal | 81 | 27 | 82 |
Binär | 1010001 | 11011 | 1010010 |
Oktal | 121 | 33 | 122 |
Beispiele css- und html für Elemente in der Farbe #511B52. Bitte benutzen Sie auch rgb(81,27,82) statt hex-Code.
.myTextColor { color: #511B52; }
<p style="color:#511B52">This sample text font color is #511B52.</p>
Die Farbe dieses Textes ist #511B52.
.myBgColor { background-color: #511B52; }
<div style="background-color:#511B52">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #511B52.
.myBorderColor { border: 1px solid #511B52; }
<div style="border:3px solid #511B52">Div</div>
Die Grenzen von diesem div sind in Farbe #511B52.
.myOpacity80 { color: #511B52; opacity: 0.8; }
<p style="color:#511B52;opacity:0.8;">80%</p>
Text in Farbe #511B52 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511B52;}
<p style="text-shadow: 3px 3px 1px #511B52">Text here.</p>
Dieser Text hat den Schatten in Farbe #511B52.
.textShadow {text-shadow: 3px 3px 1px #511B52, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511B52, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #511B52 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511B52, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511B52, Direction=45, Strength=4)">Text</p>
This text has shadow with #511B52 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511B52; -webkit-box-shadow: 1px 1px 3px 2px #511B52; box-shadow: 1px 1px 3px 2px #511B52; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511B52; -webkit-box-shadow: 1px 1px 3px 2px #511B52; box-shadow:1px 1px 3px 2px #511B52;">
Div content here</div>
Dieser Text ist in der Farbe #511B52 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #511B52 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #511B52.
Dieser Text ist weiß auf dem Hintergrund in Farbe #511B52.