HEX: #50496C
RGB: (80,73,108)
#50496C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #50496C ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #50496C wird in RGB als (80,73,108) definiert.
RGB: (80,73,108) (31%,29%,42%)
R 80 von 255 = 31%
G 73 von 255 = 29%
B 108 von 255 = 42%
R + G + B ~ 34%. #50496C ziemlich dunkle Farbe.
R + G + B =
80 + 73 + 108 = 261 (100%)
R 80 von 261 ~ 30.65%
G 73 von 261 ~ 27.97%
B 108 von 261 ~ 41.38%
Die Farbe #50496C wird in CMYK als (26,32,0,58) definiert.
CMYK: (26,32,0,58) C26M32Y0K58 (26%,32%,0%,58%) (0.26/0.32/0.00/0.58)
50 | 49 | 6C | |
---|---|---|---|
RGB | 80 | 73 | 108 |
HSL | 252° | 19.34% | 35.49% |
HSB/HSV | 252° | 32.41% | 42.35% |
CMYK | 25.93% | 32.41% | 0.00% |
57.65% |
Hexadezimal | 50 | 49 | 6C |
Dezimal | 80 | 73 | 108 |
Binär | 1010000 | 1001001 | 1101100 |
Oktal | 120 | 111 | 154 |
Beispiele css- und html für Elemente in der Farbe #50496C. Bitte benutzen Sie auch rgb(80,73,108) statt hex-Code.
.myTextColor { color: #50496C; }
<p style="color:#50496C">This sample text font color is #50496C.</p>
Die Farbe dieses Textes ist #50496C.
.myBgColor { background-color: #50496C; }
<div style="background-color:#50496C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #50496C.
.myBorderColor { border: 1px solid #50496C; }
<div style="border:3px solid #50496C">Div</div>
Die Grenzen von diesem div sind in Farbe #50496C.
.myOpacity80 { color: #50496C; opacity: 0.8; }
<p style="color:#50496C;opacity:0.8;">80%</p>
Text in Farbe #50496C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50496C;}
<p style="text-shadow: 3px 3px 1px #50496C">Text here.</p>
Dieser Text hat den Schatten in Farbe #50496C.
.textShadow {text-shadow: 3px 3px 1px #50496C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50496C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #50496C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50496C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50496C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50496C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50496C; -webkit-box-shadow: 1px 1px 3px 2px #50496C; box-shadow: 1px 1px 3px 2px #50496C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50496C; -webkit-box-shadow: 1px 1px 3px 2px #50496C; box-shadow:1px 1px 3px 2px #50496C;">
Div content here</div>
Dieser Text ist in der Farbe #50496C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #50496C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #50496C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #50496C.