HEX: #5A5A7F
RGB: (90,90,127)
#5A5A7F enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #5A5A7F ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #5A5A7F wird in RGB als (90,90,127) definiert.
RGB: (90,90,127) (35%,35%,50%)
R 90 von 255 = 35%
G 90 von 255 = 35%
B 127 von 255 = 50%
R + G + B ~ 40%. #5A5A7F mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
90 + 90 + 127 = 307 (100%)
R 90 von 307 ~ 29.32%
G 90 von 307 ~ 29.32%
B 127 von 307 ~ 41.37%
Die Farbe #5A5A7F wird in CMYK als (29,29,0,50) definiert.
CMYK: (29,29,0,50) C29M29Y0K50 (29%,29%,0%,50%) (0.29/0.29/0.00/0.50)
5A | 5A | 7F | |
---|---|---|---|
RGB | 90 | 90 | 127 |
HSL | 240° | 17.05% | 42.55% |
HSB/HSV | 240° | 29.13% | 49.80% |
CMYK | 29.13% | 29.13% | 0.00% |
50.20% |
Hexadezimal | 5A | 5A | 7F |
Dezimal | 90 | 90 | 127 |
Binär | 1011010 | 1011010 | 1111111 |
Oktal | 132 | 132 | 177 |
Beispiele css- und html für Elemente in der Farbe #5A5A7F. Bitte benutzen Sie auch rgb(90,90,127) statt hex-Code.
.myTextColor { color: #5A5A7F; }
<p style="color:#5A5A7F">This sample text font color is #5A5A7F.</p>
Die Farbe dieses Textes ist #5A5A7F.
.myBgColor { background-color: #5A5A7F; }
<div style="background-color:#5A5A7F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5A5A7F.
.myBorderColor { border: 1px solid #5A5A7F; }
<div style="border:3px solid #5A5A7F">Div</div>
Die Grenzen von diesem div sind in Farbe #5A5A7F.
.myOpacity80 { color: #5A5A7F; opacity: 0.8; }
<p style="color:#5A5A7F;opacity:0.8;">80%</p>
Text in Farbe #5A5A7F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5A5A7F;}
<p style="text-shadow: 3px 3px 1px #5A5A7F">Text here.</p>
Dieser Text hat den Schatten in Farbe #5A5A7F.
.textShadow {text-shadow: 3px 3px 1px #5A5A7F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5A5A7F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5A5A7F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5A5A7F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5A5A7F, Direction=45, Strength=4)">Text</p>
This text has shadow with #5A5A7F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5A5A7F; -webkit-box-shadow: 1px 1px 3px 2px #5A5A7F; box-shadow: 1px 1px 3px 2px #5A5A7F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5A5A7F; -webkit-box-shadow: 1px 1px 3px 2px #5A5A7F; box-shadow:1px 1px 3px 2px #5A5A7F;">
Div content here</div>
Dieser Text ist in der Farbe #5A5A7F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5A5A7F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5A5A7F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5A5A7F.