HEX: #51A5B8
RGB: (81,165,184)
#51A5B8 enthält hauptsächlich grüne und blaue Farbe. Für #51A5B8 ist eine «websichere» Webfarbe #6699CC (oder kurz #69C).
Die Farbe #51A5B8 wird in RGB als (81,165,184) definiert.
RGB: (81,165,184) (32%,65%,72%)
R 81 von 255 = 32%
G 165 von 255 = 65%
B 184 von 255 = 72%
R + G + B ~ 56%. #51A5B8 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 165 + 184 = 430 (100%)
R 81 von 430 ~ 18.84%
G 165 von 430 ~ 38.37%
B 184 von 430 ~ 42.79%
Die Farbe #51A5B8 wird in CMYK als (56,10,0,28) definiert.
CMYK: (56,10,0,28) C56M10Y0K28 (56%,10%,0%,28%) (0.56/0.10/0.00/0.28)
51 | A5 | B8 | |
---|---|---|---|
RGB | 81 | 165 | 184 |
HSL | 191° | 42.04% | 51.96% |
HSB/HSV | 191° | 55.98% | 72.16% |
CMYK | 55.98% | 10.33% | 0.00% |
27.84% |
Hexadezimal | 51 | A5 | B8 |
Dezimal | 81 | 165 | 184 |
Binär | 1010001 | 10100101 | 10111000 |
Oktal | 121 | 245 | 270 |
Beispiele css- und html für Elemente in der Farbe #51A5B8. Bitte benutzen Sie auch rgb(81,165,184) statt hex-Code.
.myTextColor { color: #51A5B8; }
<p style="color:#51A5B8">This sample text font color is #51A5B8.</p>
Die Farbe dieses Textes ist #51A5B8.
.myBgColor { background-color: #51A5B8; }
<div style="background-color:#51A5B8">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51A5B8.
.myBorderColor { border: 1px solid #51A5B8; }
<div style="border:3px solid #51A5B8">Div</div>
Die Grenzen von diesem div sind in Farbe #51A5B8.
.myOpacity80 { color: #51A5B8; opacity: 0.8; }
<p style="color:#51A5B8;opacity:0.8;">80%</p>
Text in Farbe #51A5B8 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51A5B8;}
<p style="text-shadow: 3px 3px 1px #51A5B8">Text here.</p>
Dieser Text hat den Schatten in Farbe #51A5B8.
.textShadow {text-shadow: 3px 3px 1px #51A5B8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51A5B8, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51A5B8 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51A5B8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51A5B8, Direction=45, Strength=4)">Text</p>
This text has shadow with #51A5B8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51A5B8; -webkit-box-shadow: 1px 1px 3px 2px #51A5B8; box-shadow: 1px 1px 3px 2px #51A5B8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51A5B8; -webkit-box-shadow: 1px 1px 3px 2px #51A5B8; box-shadow:1px 1px 3px 2px #51A5B8;">
Div content here</div>
Dieser Text ist in der Farbe #51A5B8 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51A5B8 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51A5B8.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51A5B8.