HEX: #504974
RGB: (80,73,116)
#504974 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #504974 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #504974 wird in RGB als (80,73,116) definiert.
RGB: (80,73,116) (31%,29%,45%)
R 80 von 255 = 31%
G 73 von 255 = 29%
B 116 von 255 = 45%
R + G + B ~ 35%. #504974 ziemlich dunkle Farbe.
R + G + B =
80 + 73 + 116 = 269 (100%)
R 80 von 269 ~ 29.74%
G 73 von 269 ~ 27.14%
B 116 von 269 ~ 43.12%
Die Farbe #504974 wird in CMYK als (31,37,0,55) definiert.
CMYK: (31,37,0,55) C31M37Y0K55 (31%,37%,0%,55%) (0.31/0.37/0.00/0.55)
50 | 49 | 74 | |
---|---|---|---|
RGB | 80 | 73 | 116 |
HSL | 250° | 22.75% | 37.06% |
HSB/HSV | 250° | 37.07% | 45.49% |
CMYK | 31.03% | 37.07% | 0.00% |
54.51% |
Hexadezimal | 50 | 49 | 74 |
Dezimal | 80 | 73 | 116 |
Binär | 1010000 | 1001001 | 1110100 |
Oktal | 120 | 111 | 164 |
Beispiele css- und html für Elemente in der Farbe #504974. Bitte benutzen Sie auch rgb(80,73,116) statt hex-Code.
.myTextColor { color: #504974; }
<p style="color:#504974">This sample text font color is #504974.</p>
Die Farbe dieses Textes ist #504974.
.myBgColor { background-color: #504974; }
<div style="background-color:#504974">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #504974.
.myBorderColor { border: 1px solid #504974; }
<div style="border:3px solid #504974">Div</div>
Die Grenzen von diesem div sind in Farbe #504974.
.myOpacity80 { color: #504974; opacity: 0.8; }
<p style="color:#504974;opacity:0.8;">80%</p>
Text in Farbe #504974 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504974;}
<p style="text-shadow: 3px 3px 1px #504974">Text here.</p>
Dieser Text hat den Schatten in Farbe #504974.
.textShadow {text-shadow: 3px 3px 1px #504974, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504974, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #504974 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504974, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504974, Direction=45, Strength=4)">Text</p>
This text has shadow with #504974 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504974; -webkit-box-shadow: 1px 1px 3px 2px #504974; box-shadow: 1px 1px 3px 2px #504974; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504974; -webkit-box-shadow: 1px 1px 3px 2px #504974; box-shadow:1px 1px 3px 2px #504974;">
Div content here</div>
Dieser Text ist in der Farbe #504974 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #504974 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #504974.
Dieser Text ist weiß auf dem Hintergrund in Farbe #504974.