HEX: #51537C
RGB: (81,83,124)
#51537C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #51537C ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #51537C wird in RGB als (81,83,124) definiert.
RGB: (81,83,124) (32%,33%,49%)
R 81 von 255 = 32%
G 83 von 255 = 33%
B 124 von 255 = 49%
R + G + B ~ 38%. #51537C ziemlich dunkle Farbe.
R + G + B =
81 + 83 + 124 = 288 (100%)
R 81 von 288 ~ 28.13%
G 83 von 288 ~ 28.82%
B 124 von 288 ~ 43.06%
Die Farbe #51537C wird in CMYK als (35,33,0,51) definiert.
CMYK: (35,33,0,51) C35M33Y0K51 (35%,33%,0%,51%) (0.35/0.33/0.00/0.51)
51 | 53 | 7C | |
---|---|---|---|
RGB | 81 | 83 | 124 |
HSL | 237° | 20.98% | 40.20% |
HSB/HSV | 237° | 34.68% | 48.63% |
CMYK | 34.68% | 33.06% | 0.00% |
51.37% |
Hexadezimal | 51 | 53 | 7C |
Dezimal | 81 | 83 | 124 |
Binär | 1010001 | 1010011 | 1111100 |
Oktal | 121 | 123 | 174 |
Beispiele css- und html für Elemente in der Farbe #51537C. Bitte benutzen Sie auch rgb(81,83,124) statt hex-Code.
.myTextColor { color: #51537C; }
<p style="color:#51537C">This sample text font color is #51537C.</p>
Die Farbe dieses Textes ist #51537C.
.myBgColor { background-color: #51537C; }
<div style="background-color:#51537C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51537C.
.myBorderColor { border: 1px solid #51537C; }
<div style="border:3px solid #51537C">Div</div>
Die Grenzen von diesem div sind in Farbe #51537C.
.myOpacity80 { color: #51537C; opacity: 0.8; }
<p style="color:#51537C;opacity:0.8;">80%</p>
Text in Farbe #51537C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51537C;}
<p style="text-shadow: 3px 3px 1px #51537C">Text here.</p>
Dieser Text hat den Schatten in Farbe #51537C.
.textShadow {text-shadow: 3px 3px 1px #51537C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51537C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51537C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51537C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51537C, Direction=45, Strength=4)">Text</p>
This text has shadow with #51537C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51537C; -webkit-box-shadow: 1px 1px 3px 2px #51537C; box-shadow: 1px 1px 3px 2px #51537C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51537C; -webkit-box-shadow: 1px 1px 3px 2px #51537C; box-shadow:1px 1px 3px 2px #51537C;">
Div content here</div>
Dieser Text ist in der Farbe #51537C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51537C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51537C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51537C.