HEX: #504F5A
RGB: (80,79,90)
#504F5A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #504F5A ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #504F5A wird in RGB als (80,79,90) definiert.
RGB: (80,79,90) (31%,31%,35%)
R 80 von 255 = 31%
G 79 von 255 = 31%
B 90 von 255 = 35%
R + G + B ~ 32%. #504F5A ziemlich dunkle Farbe.
R + G + B =
80 + 79 + 90 = 249 (100%)
R 80 von 249 ~ 32.13%
G 79 von 249 ~ 31.73%
B 90 von 249 ~ 36.14%
Die Farbe #504F5A wird in CMYK als (11,12,0,65) definiert.
CMYK: (11,12,0,65) C11M12Y0K65 (11%,12%,0%,65%) (0.11/0.12/0.00/0.65)
50 | 4F | 5A | |
---|---|---|---|
RGB | 80 | 79 | 90 |
HSL | 245° | 6.51% | 33.14% |
HSB/HSV | 245° | 12.22% | 35.29% |
CMYK | 11.11% | 12.22% | 0.00% |
64.71% |
Hexadezimal | 50 | 4F | 5A |
Dezimal | 80 | 79 | 90 |
Binär | 1010000 | 1001111 | 1011010 |
Oktal | 120 | 117 | 132 |
Beispiele css- und html für Elemente in der Farbe #504F5A. Bitte benutzen Sie auch rgb(80,79,90) statt hex-Code.
.myTextColor { color: #504F5A; }
<p style="color:#504F5A">This sample text font color is #504F5A.</p>
Die Farbe dieses Textes ist #504F5A.
.myBgColor { background-color: #504F5A; }
<div style="background-color:#504F5A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #504F5A.
.myBorderColor { border: 1px solid #504F5A; }
<div style="border:3px solid #504F5A">Div</div>
Die Grenzen von diesem div sind in Farbe #504F5A.
.myOpacity80 { color: #504F5A; opacity: 0.8; }
<p style="color:#504F5A;opacity:0.8;">80%</p>
Text in Farbe #504F5A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504F5A;}
<p style="text-shadow: 3px 3px 1px #504F5A">Text here.</p>
Dieser Text hat den Schatten in Farbe #504F5A.
.textShadow {text-shadow: 3px 3px 1px #504F5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504F5A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #504F5A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504F5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504F5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #504F5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504F5A; -webkit-box-shadow: 1px 1px 3px 2px #504F5A; box-shadow: 1px 1px 3px 2px #504F5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504F5A; -webkit-box-shadow: 1px 1px 3px 2px #504F5A; box-shadow:1px 1px 3px 2px #504F5A;">
Div content here</div>
Dieser Text ist in der Farbe #504F5A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #504F5A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #504F5A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #504F5A.