HEX: #504D6D
RGB: (80,77,109)
#504D6D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #504D6D ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #504D6D wird in RGB als (80,77,109) definiert.
RGB: (80,77,109) (31%,30%,43%)
R 80 von 255 = 31%
G 77 von 255 = 30%
B 109 von 255 = 43%
R + G + B ~ 35%. #504D6D ziemlich dunkle Farbe.
R + G + B =
80 + 77 + 109 = 266 (100%)
R 80 von 266 ~ 30.08%
G 77 von 266 ~ 28.95%
B 109 von 266 ~ 40.98%
Die Farbe #504D6D wird in CMYK als (27,29,0,57) definiert.
CMYK: (27,29,0,57) C27M29Y0K57 (27%,29%,0%,57%) (0.27/0.29/0.00/0.57)
50 | 4D | 6D | |
---|---|---|---|
RGB | 80 | 77 | 109 |
HSL | 246° | 17.20% | 36.47% |
HSB/HSV | 246° | 29.36% | 42.75% |
CMYK | 26.61% | 29.36% | 0.00% |
57.25% |
Hexadezimal | 50 | 4D | 6D |
Dezimal | 80 | 77 | 109 |
Binär | 1010000 | 1001101 | 1101101 |
Oktal | 120 | 115 | 155 |
Beispiele css- und html für Elemente in der Farbe #504D6D. Bitte benutzen Sie auch rgb(80,77,109) statt hex-Code.
.myTextColor { color: #504D6D; }
<p style="color:#504D6D">This sample text font color is #504D6D.</p>
Die Farbe dieses Textes ist #504D6D.
.myBgColor { background-color: #504D6D; }
<div style="background-color:#504D6D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #504D6D.
.myBorderColor { border: 1px solid #504D6D; }
<div style="border:3px solid #504D6D">Div</div>
Die Grenzen von diesem div sind in Farbe #504D6D.
.myOpacity80 { color: #504D6D; opacity: 0.8; }
<p style="color:#504D6D;opacity:0.8;">80%</p>
Text in Farbe #504D6D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504D6D;}
<p style="text-shadow: 3px 3px 1px #504D6D">Text here.</p>
Dieser Text hat den Schatten in Farbe #504D6D.
.textShadow {text-shadow: 3px 3px 1px #504D6D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504D6D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #504D6D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504D6D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504D6D, Direction=45, Strength=4)">Text</p>
This text has shadow with #504D6D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504D6D; -webkit-box-shadow: 1px 1px 3px 2px #504D6D; box-shadow: 1px 1px 3px 2px #504D6D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504D6D; -webkit-box-shadow: 1px 1px 3px 2px #504D6D; box-shadow:1px 1px 3px 2px #504D6D;">
Div content here</div>
Dieser Text ist in der Farbe #504D6D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #504D6D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #504D6D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #504D6D.