HEX: #515566
RGB: (81,85,102)
#515566 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #515566 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #515566 wird in RGB als (81,85,102) definiert.
RGB: (81,85,102) (32%,33%,40%)
R 81 von 255 = 32%
G 85 von 255 = 33%
B 102 von 255 = 40%
R + G + B ~ 35%. #515566 ziemlich dunkle Farbe.
R + G + B =
81 + 85 + 102 = 268 (100%)
R 81 von 268 ~ 30.22%
G 85 von 268 ~ 31.72%
B 102 von 268 ~ 38.06%
Die Farbe #515566 wird in CMYK als (21,17,0,60) definiert.
CMYK: (21,17,0,60) C21M17Y0K60 (21%,17%,0%,60%) (0.21/0.17/0.00/0.60)
51 | 55 | 66 | |
---|---|---|---|
RGB | 81 | 85 | 102 |
HSL | 229° | 11.48% | 35.88% |
HSB/HSV | 229° | 20.59% | 40.00% |
CMYK | 20.59% | 16.67% | 0.00% |
60.00% |
Hexadezimal | 51 | 55 | 66 |
Dezimal | 81 | 85 | 102 |
Binär | 1010001 | 1010101 | 1100110 |
Oktal | 121 | 125 | 146 |
Beispiele css- und html für Elemente in der Farbe #515566. Bitte benutzen Sie auch rgb(81,85,102) statt hex-Code.
.myTextColor { color: #515566; }
<p style="color:#515566">This sample text font color is #515566.</p>
Die Farbe dieses Textes ist #515566.
.myBgColor { background-color: #515566; }
<div style="background-color:#515566">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #515566.
.myBorderColor { border: 1px solid #515566; }
<div style="border:3px solid #515566">Div</div>
Die Grenzen von diesem div sind in Farbe #515566.
.myOpacity80 { color: #515566; opacity: 0.8; }
<p style="color:#515566;opacity:0.8;">80%</p>
Text in Farbe #515566 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515566;}
<p style="text-shadow: 3px 3px 1px #515566">Text here.</p>
Dieser Text hat den Schatten in Farbe #515566.
.textShadow {text-shadow: 3px 3px 1px #515566, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515566, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #515566 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515566, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515566, Direction=45, Strength=4)">Text</p>
This text has shadow with #515566 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515566; -webkit-box-shadow: 1px 1px 3px 2px #515566; box-shadow: 1px 1px 3px 2px #515566; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515566; -webkit-box-shadow: 1px 1px 3px 2px #515566; box-shadow:1px 1px 3px 2px #515566;">
Div content here</div>
Dieser Text ist in der Farbe #515566 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #515566 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #515566.
Dieser Text ist weiß auf dem Hintergrund in Farbe #515566.