HEX: #5072B2
RGB: (80,114,178)
#5072B2 enthält hauptsächlich blaue Farbe. Für #5072B2 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #5072B2 wird in RGB als (80,114,178) definiert.
RGB: (80,114,178) (31%,45%,70%)
R 80 von 255 = 31%
G 114 von 255 = 45%
B 178 von 255 = 70%
R + G + B ~ 49%. #5072B2 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 114 + 178 = 372 (100%)
R 80 von 372 ~ 21.51%
G 114 von 372 ~ 30.65%
B 178 von 372 ~ 47.85%
Die Farbe #5072B2 wird in CMYK als (55,36,0,30) definiert.
CMYK: (55,36,0,30) C55M36Y0K30 (55%,36%,0%,30%) (0.55/0.36/0.00/0.30)
50 | 72 | B2 | |
---|---|---|---|
RGB | 80 | 114 | 178 |
HSL | 219° | 38.89% | 50.59% |
HSB/HSV | 219° | 55.06% | 69.80% |
CMYK | 55.06% | 35.96% | 0.00% |
30.20% |
Hexadezimal | 50 | 72 | B2 |
Dezimal | 80 | 114 | 178 |
Binär | 1010000 | 1110010 | 10110010 |
Oktal | 120 | 162 | 262 |
Beispiele css- und html für Elemente in der Farbe #5072B2. Bitte benutzen Sie auch rgb(80,114,178) statt hex-Code.
.myTextColor { color: #5072B2; }
<p style="color:#5072B2">This sample text font color is #5072B2.</p>
Die Farbe dieses Textes ist #5072B2.
.myBgColor { background-color: #5072B2; }
<div style="background-color:#5072B2">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #5072B2.
.myBorderColor { border: 1px solid #5072B2; }
<div style="border:3px solid #5072B2">Div</div>
Die Grenzen von diesem div sind in Farbe #5072B2.
.myOpacity80 { color: #5072B2; opacity: 0.8; }
<p style="color:#5072B2;opacity:0.8;">80%</p>
Text in Farbe #5072B2 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5072B2;}
<p style="text-shadow: 3px 3px 1px #5072B2">Text here.</p>
Dieser Text hat den Schatten in Farbe #5072B2.
.textShadow {text-shadow: 3px 3px 1px #5072B2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5072B2, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #5072B2 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5072B2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5072B2, Direction=45, Strength=4)">Text</p>
This text has shadow with #5072B2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5072B2; -webkit-box-shadow: 1px 1px 3px 2px #5072B2; box-shadow: 1px 1px 3px 2px #5072B2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5072B2; -webkit-box-shadow: 1px 1px 3px 2px #5072B2; box-shadow:1px 1px 3px 2px #5072B2;">
Div content here</div>
Dieser Text ist in der Farbe #5072B2 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #5072B2 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #5072B2.
Dieser Text ist weiß auf dem Hintergrund in Farbe #5072B2.