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