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