HEX: #51596C
RGB: (81,89,108)
#51596C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #51596C ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #51596C wird in RGB als (81,89,108) definiert.
RGB: (81,89,108) (32%,35%,42%)
R 81 von 255 = 32%
G 89 von 255 = 35%
B 108 von 255 = 42%
R + G + B ~ 36%. #51596C ziemlich dunkle Farbe.
R + G + B =
81 + 89 + 108 = 278 (100%)
R 81 von 278 ~ 29.14%
G 89 von 278 ~ 32.01%
B 108 von 278 ~ 38.85%
Die Farbe #51596C wird in CMYK als (25,18,0,58) definiert.
CMYK: (25,18,0,58) C25M18Y0K58 (25%,18%,0%,58%) (0.25/0.18/0.00/0.58)
51 | 59 | 6C | |
---|---|---|---|
RGB | 81 | 89 | 108 |
HSL | 222° | 14.29% | 37.06% |
HSB/HSV | 222° | 25.00% | 42.35% |
CMYK | 25.00% | 17.59% | 0.00% |
57.65% |
Hexadezimal | 51 | 59 | 6C |
Dezimal | 81 | 89 | 108 |
Binär | 1010001 | 1011001 | 1101100 |
Oktal | 121 | 131 | 154 |
Beispiele css- und html für Elemente in der Farbe #51596C. Bitte benutzen Sie auch rgb(81,89,108) statt hex-Code.
.myTextColor { color: #51596C; }
<p style="color:#51596C">This sample text font color is #51596C.</p>
Die Farbe dieses Textes ist #51596C.
.myBgColor { background-color: #51596C; }
<div style="background-color:#51596C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51596C.
.myBorderColor { border: 1px solid #51596C; }
<div style="border:3px solid #51596C">Div</div>
Die Grenzen von diesem div sind in Farbe #51596C.
.myOpacity80 { color: #51596C; opacity: 0.8; }
<p style="color:#51596C;opacity:0.8;">80%</p>
Text in Farbe #51596C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51596C;}
<p style="text-shadow: 3px 3px 1px #51596C">Text here.</p>
Dieser Text hat den Schatten in Farbe #51596C.
.textShadow {text-shadow: 3px 3px 1px #51596C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51596C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51596C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51596C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51596C, Direction=45, Strength=4)">Text</p>
This text has shadow with #51596C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51596C; -webkit-box-shadow: 1px 1px 3px 2px #51596C; box-shadow: 1px 1px 3px 2px #51596C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51596C; -webkit-box-shadow: 1px 1px 3px 2px #51596C; box-shadow:1px 1px 3px 2px #51596C;">
Div content here</div>
Dieser Text ist in der Farbe #51596C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51596C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51596C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51596C.