HEX: #505076
RGB: (80,80,118)
#505076 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #505076 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #505076 wird in RGB als (80,80,118) definiert.
RGB: (80,80,118) (31%,31%,46%)
R 80 von 255 = 31%
G 80 von 255 = 31%
B 118 von 255 = 46%
R + G + B ~ 36%. #505076 ziemlich dunkle Farbe.
R + G + B =
80 + 80 + 118 = 278 (100%)
R 80 von 278 ~ 28.78%
G 80 von 278 ~ 28.78%
B 118 von 278 ~ 42.45%
Die Farbe #505076 wird in CMYK als (32,32,0,54) definiert.
CMYK: (32,32,0,54) C32M32Y0K54 (32%,32%,0%,54%) (0.32/0.32/0.00/0.54)
50 | 50 | 76 | |
---|---|---|---|
RGB | 80 | 80 | 118 |
HSL | 240° | 19.19% | 38.82% |
HSB/HSV | 240° | 32.20% | 46.27% |
CMYK | 32.20% | 32.20% | 0.00% |
53.73% |
Hexadezimal | 50 | 50 | 76 |
Dezimal | 80 | 80 | 118 |
Binär | 1010000 | 1010000 | 1110110 |
Oktal | 120 | 120 | 166 |
Beispiele css- und html für Elemente in der Farbe #505076. Bitte benutzen Sie auch rgb(80,80,118) statt hex-Code.
.myTextColor { color: #505076; }
<p style="color:#505076">This sample text font color is #505076.</p>
Die Farbe dieses Textes ist #505076.
.myBgColor { background-color: #505076; }
<div style="background-color:#505076">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505076.
.myBorderColor { border: 1px solid #505076; }
<div style="border:3px solid #505076">Div</div>
Die Grenzen von diesem div sind in Farbe #505076.
.myOpacity80 { color: #505076; opacity: 0.8; }
<p style="color:#505076;opacity:0.8;">80%</p>
Text in Farbe #505076 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505076;}
<p style="text-shadow: 3px 3px 1px #505076">Text here.</p>
Dieser Text hat den Schatten in Farbe #505076.
.textShadow {text-shadow: 3px 3px 1px #505076, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505076, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505076 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505076, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505076, Direction=45, Strength=4)">Text</p>
This text has shadow with #505076 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505076; -webkit-box-shadow: 1px 1px 3px 2px #505076; box-shadow: 1px 1px 3px 2px #505076; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505076; -webkit-box-shadow: 1px 1px 3px 2px #505076; box-shadow:1px 1px 3px 2px #505076;">
Div content here</div>
Dieser Text ist in der Farbe #505076 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505076 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505076.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505076.