HEX: #504B70
RGB: (80,75,112)
#504B70 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #504B70 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #504B70 wird in RGB als (80,75,112) definiert.
RGB: (80,75,112) (31%,29%,44%)
R 80 von 255 = 31%
G 75 von 255 = 29%
B 112 von 255 = 44%
R + G + B ~ 35%. #504B70 ziemlich dunkle Farbe.
R + G + B =
80 + 75 + 112 = 267 (100%)
R 80 von 267 ~ 29.96%
G 75 von 267 ~ 28.09%
B 112 von 267 ~ 41.95%
Die Farbe #504B70 wird in CMYK als (29,33,0,56) definiert.
CMYK: (29,33,0,56) C29M33Y0K56 (29%,33%,0%,56%) (0.29/0.33/0.00/0.56)
50 | 4B | 70 | |
---|---|---|---|
RGB | 80 | 75 | 112 |
HSL | 248° | 19.79% | 36.67% |
HSB/HSV | 248° | 33.04% | 43.92% |
CMYK | 28.57% | 33.04% | 0.00% |
56.08% |
Hexadezimal | 50 | 4B | 70 |
Dezimal | 80 | 75 | 112 |
Binär | 1010000 | 1001011 | 1110000 |
Oktal | 120 | 113 | 160 |
Beispiele css- und html für Elemente in der Farbe #504B70. Bitte benutzen Sie auch rgb(80,75,112) statt hex-Code.
.myTextColor { color: #504B70; }
<p style="color:#504B70">This sample text font color is #504B70.</p>
Die Farbe dieses Textes ist #504B70.
.myBgColor { background-color: #504B70; }
<div style="background-color:#504B70">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #504B70.
.myBorderColor { border: 1px solid #504B70; }
<div style="border:3px solid #504B70">Div</div>
Die Grenzen von diesem div sind in Farbe #504B70.
.myOpacity80 { color: #504B70; opacity: 0.8; }
<p style="color:#504B70;opacity:0.8;">80%</p>
Text in Farbe #504B70 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504B70;}
<p style="text-shadow: 3px 3px 1px #504B70">Text here.</p>
Dieser Text hat den Schatten in Farbe #504B70.
.textShadow {text-shadow: 3px 3px 1px #504B70, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504B70, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #504B70 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504B70, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504B70, Direction=45, Strength=4)">Text</p>
This text has shadow with #504B70 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504B70; -webkit-box-shadow: 1px 1px 3px 2px #504B70; box-shadow: 1px 1px 3px 2px #504B70; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504B70; -webkit-box-shadow: 1px 1px 3px 2px #504B70; box-shadow:1px 1px 3px 2px #504B70;">
Div content here</div>
Dieser Text ist in der Farbe #504B70 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #504B70 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #504B70.
Dieser Text ist weiß auf dem Hintergrund in Farbe #504B70.