HEX: #504679
RGB: (80,70,121)
#504679 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #504679 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #504679 wird in RGB als (80,70,121) definiert.
RGB: (80,70,121) (31%,27%,47%)
R 80 von 255 = 31%
G 70 von 255 = 27%
B 121 von 255 = 47%
R + G + B ~ 35%. #504679 ziemlich dunkle Farbe.
R + G + B =
80 + 70 + 121 = 271 (100%)
R 80 von 271 ~ 29.52%
G 70 von 271 ~ 25.83%
B 121 von 271 ~ 44.65%
Die Farbe #504679 wird in CMYK als (34,42,0,53) definiert.
CMYK: (34,42,0,53) C34M42Y0K53 (34%,42%,0%,53%) (0.34/0.42/0.00/0.53)
50 | 46 | 79 | |
---|---|---|---|
RGB | 80 | 70 | 121 |
HSL | 252° | 26.70% | 37.45% |
HSB/HSV | 252° | 42.15% | 47.45% |
CMYK | 33.88% | 42.15% | 0.00% |
52.55% |
Hexadezimal | 50 | 46 | 79 |
Dezimal | 80 | 70 | 121 |
Binär | 1010000 | 1000110 | 1111001 |
Oktal | 120 | 106 | 171 |
Beispiele css- und html für Elemente in der Farbe #504679. Bitte benutzen Sie auch rgb(80,70,121) statt hex-Code.
.myTextColor { color: #504679; }
<p style="color:#504679">This sample text font color is #504679.</p>
Die Farbe dieses Textes ist #504679.
.myBgColor { background-color: #504679; }
<div style="background-color:#504679">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #504679.
.myBorderColor { border: 1px solid #504679; }
<div style="border:3px solid #504679">Div</div>
Die Grenzen von diesem div sind in Farbe #504679.
.myOpacity80 { color: #504679; opacity: 0.8; }
<p style="color:#504679;opacity:0.8;">80%</p>
Text in Farbe #504679 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504679;}
<p style="text-shadow: 3px 3px 1px #504679">Text here.</p>
Dieser Text hat den Schatten in Farbe #504679.
.textShadow {text-shadow: 3px 3px 1px #504679, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504679, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #504679 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504679, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504679, Direction=45, Strength=4)">Text</p>
This text has shadow with #504679 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504679; -webkit-box-shadow: 1px 1px 3px 2px #504679; box-shadow: 1px 1px 3px 2px #504679; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504679; -webkit-box-shadow: 1px 1px 3px 2px #504679; box-shadow:1px 1px 3px 2px #504679;">
Div content here</div>
Dieser Text ist in der Farbe #504679 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #504679 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #504679.
Dieser Text ist weiß auf dem Hintergrund in Farbe #504679.