HEX: #4F506B
RGB: (79,80,107)
#4F506B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4F506B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #4F506B wird in RGB als (79,80,107) definiert.
RGB: (79,80,107) (31%,31%,42%)
R 79 von 255 = 31%
G 80 von 255 = 31%
B 107 von 255 = 42%
R + G + B ~ 35%. #4F506B ziemlich dunkle Farbe.
R + G + B =
79 + 80 + 107 = 266 (100%)
R 79 von 266 ~ 29.7%
G 80 von 266 ~ 30.08%
B 107 von 266 ~ 40.23%
Die Farbe #4F506B wird in CMYK als (26,25,0,58) definiert.
CMYK: (26,25,0,58) C26M25Y0K58 (26%,25%,0%,58%) (0.26/0.25/0.00/0.58)
4F | 50 | 6B | |
---|---|---|---|
RGB | 79 | 80 | 107 |
HSL | 238° | 15.05% | 36.47% |
HSB/HSV | 238° | 26.17% | 41.96% |
CMYK | 26.17% | 25.23% | 0.00% |
58.04% |
Hexadezimal | 4F | 50 | 6B |
Dezimal | 79 | 80 | 107 |
Binär | 1001111 | 1010000 | 1101011 |
Oktal | 117 | 120 | 153 |
Beispiele css- und html für Elemente in der Farbe #4F506B. Bitte benutzen Sie auch rgb(79,80,107) statt hex-Code.
.myTextColor { color: #4F506B; }
<p style="color:#4F506B">This sample text font color is #4F506B.</p>
Die Farbe dieses Textes ist #4F506B.
.myBgColor { background-color: #4F506B; }
<div style="background-color:#4F506B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4F506B.
.myBorderColor { border: 1px solid #4F506B; }
<div style="border:3px solid #4F506B">Div</div>
Die Grenzen von diesem div sind in Farbe #4F506B.
.myOpacity80 { color: #4F506B; opacity: 0.8; }
<p style="color:#4F506B;opacity:0.8;">80%</p>
Text in Farbe #4F506B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F506B;}
<p style="text-shadow: 3px 3px 1px #4F506B">Text here.</p>
Dieser Text hat den Schatten in Farbe #4F506B.
.textShadow {text-shadow: 3px 3px 1px #4F506B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F506B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4F506B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F506B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F506B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F506B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F506B; -webkit-box-shadow: 1px 1px 3px 2px #4F506B; box-shadow: 1px 1px 3px 2px #4F506B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F506B; -webkit-box-shadow: 1px 1px 3px 2px #4F506B; box-shadow:1px 1px 3px 2px #4F506B;">
Div content here</div>
Dieser Text ist in der Farbe #4F506B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4F506B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4F506B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4F506B.