HEX: #511F6A
RGB: (81,31,106)
#511F6A enthält hauptsächlich rote und blaue Farbe. Für #511F6A ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #511F6A wird in RGB als (81,31,106) definiert.
RGB: (81,31,106) (32%,12%,42%)
R 81 von 255 = 32%
G 31 von 255 = 12%
B 106 von 255 = 42%
R + G + B ~ 29%. #511F6A ziemlich dunkle Farbe.
R + G + B =
81 + 31 + 106 = 218 (100%)
R 81 von 218 ~ 37.16%
G 31 von 218 ~ 14.22%
B 106 von 218 ~ 48.62%
Die Farbe #511F6A wird in CMYK als (24,71,0,58) definiert.
CMYK: (24,71,0,58) C24M71Y0K58 (24%,71%,0%,58%) (0.24/0.71/0.00/0.58)
51 | 1F | 6A | |
---|---|---|---|
RGB | 81 | 31 | 106 |
HSL | 280° | 54.74% | 26.86% |
HSB/HSV | 280° | 70.75% | 41.57% |
CMYK | 23.58% | 70.75% | 0.00% |
58.43% |
Hexadezimal | 51 | 1F | 6A |
Dezimal | 81 | 31 | 106 |
Binär | 1010001 | 11111 | 1101010 |
Oktal | 121 | 37 | 152 |
Beispiele css- und html für Elemente in der Farbe #511F6A. Bitte benutzen Sie auch rgb(81,31,106) statt hex-Code.
.myTextColor { color: #511F6A; }
<p style="color:#511F6A">This sample text font color is #511F6A.</p>
Die Farbe dieses Textes ist #511F6A.
.myBgColor { background-color: #511F6A; }
<div style="background-color:#511F6A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #511F6A.
.myBorderColor { border: 1px solid #511F6A; }
<div style="border:3px solid #511F6A">Div</div>
Die Grenzen von diesem div sind in Farbe #511F6A.
.myOpacity80 { color: #511F6A; opacity: 0.8; }
<p style="color:#511F6A;opacity:0.8;">80%</p>
Text in Farbe #511F6A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511F6A;}
<p style="text-shadow: 3px 3px 1px #511F6A">Text here.</p>
Dieser Text hat den Schatten in Farbe #511F6A.
.textShadow {text-shadow: 3px 3px 1px #511F6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511F6A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #511F6A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511F6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511F6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #511F6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511F6A; -webkit-box-shadow: 1px 1px 3px 2px #511F6A; box-shadow: 1px 1px 3px 2px #511F6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511F6A; -webkit-box-shadow: 1px 1px 3px 2px #511F6A; box-shadow:1px 1px 3px 2px #511F6A;">
Div content here</div>
Dieser Text ist in der Farbe #511F6A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #511F6A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #511F6A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #511F6A.