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