HEX: #510C49
RGB: (81,12,73)
#510C49 enthält hauptsächlich rote und blaue Farbe. Für #510C49 ist eine «websichere» Webfarbe #660033 (oder kurz #603).
Die Farbe #510C49 wird in RGB als (81,12,73) definiert.
RGB: (81,12,73) (32%,5%,29%)
R 81 von 255 = 32%
G 12 von 255 = 5%
B 73 von 255 = 29%
R + G + B ~ 22%. #510C49 dunkle Farbe.
R + G + B =
81 + 12 + 73 = 166 (100%)
R 81 von 166 ~ 48.8%
G 12 von 166 ~ 7.23%
B 73 von 166 ~ 43.98%
Die Farbe #510C49 wird in CMYK als (0,85,10,68) definiert.
CMYK: (0,85,10,68) C0M85Y10K68 (0%,85%,10%,68%) (0.00/0.85/0.10/0.68)
51 | 0C | 49 | |
---|---|---|---|
RGB | 81 | 12 | 73 |
HSL | 307° | 74.19% | 18.24% |
HSB/HSV | 307° | 85.19% | 31.76% |
CMYK | 0.00% | 85.19% | 9.88% |
68.24% |
Hexadezimal | 51 | 0C | 49 |
Dezimal | 81 | 12 | 73 |
Binär | 1010001 | 1100 | 1001001 |
Oktal | 121 | 14 | 111 |
Beispiele css- und html für Elemente in der Farbe #510C49. Bitte benutzen Sie auch rgb(81,12,73) statt hex-Code.
.myTextColor { color: #510C49; }
<p style="color:#510C49">This sample text font color is #510C49.</p>
Die Farbe dieses Textes ist #510C49.
.myBgColor { background-color: #510C49; }
<div style="background-color:#510C49">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #510C49.
.myBorderColor { border: 1px solid #510C49; }
<div style="border:3px solid #510C49">Div</div>
Die Grenzen von diesem div sind in Farbe #510C49.
.myOpacity80 { color: #510C49; opacity: 0.8; }
<p style="color:#510C49;opacity:0.8;">80%</p>
Text in Farbe #510C49 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #510C49;}
<p style="text-shadow: 3px 3px 1px #510C49">Text here.</p>
Dieser Text hat den Schatten in Farbe #510C49.
.textShadow {text-shadow: 3px 3px 1px #510C49, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #510C49, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #510C49 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#510C49, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#510C49, Direction=45, Strength=4)">Text</p>
This text has shadow with #510C49 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #510C49; -webkit-box-shadow: 1px 1px 3px 2px #510C49; box-shadow: 1px 1px 3px 2px #510C49; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #510C49; -webkit-box-shadow: 1px 1px 3px 2px #510C49; box-shadow:1px 1px 3px 2px #510C49;">
Div content here</div>
Dieser Text ist in der Farbe #510C49 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #510C49 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #510C49.
Dieser Text ist weiß auf dem Hintergrund in Farbe #510C49.