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