HEX: #502B4E
RGB: (80,43,78)
#502B4E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #502B4E ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #502B4E wird in RGB als (80,43,78) definiert.
RGB: (80,43,78) (31%,17%,31%)
R 80 von 255 = 31%
G 43 von 255 = 17%
B 78 von 255 = 31%
R + G + B ~ 26%. #502B4E ziemlich dunkle Farbe.
R + G + B =
80 + 43 + 78 = 201 (100%)
R 80 von 201 ~ 39.8%
G 43 von 201 ~ 21.39%
B 78 von 201 ~ 38.81%
Die Farbe #502B4E wird in CMYK als (0,46,2,69) definiert.
CMYK: (0,46,2,69) C0M46Y2K69 (0%,46%,2%,69%) (0.00/0.46/0.02/0.69)
50 | 2B | 4E | |
---|---|---|---|
RGB | 80 | 43 | 78 |
HSL | 303° | 30.08% | 24.12% |
HSB/HSV | 303° | 46.25% | 31.37% |
CMYK | 0.00% | 46.25% | 2.50% |
68.63% |
Hexadezimal | 50 | 2B | 4E |
Dezimal | 80 | 43 | 78 |
Binär | 1010000 | 101011 | 1001110 |
Oktal | 120 | 53 | 116 |
Beispiele css- und html für Elemente in der Farbe #502B4E. Bitte benutzen Sie auch rgb(80,43,78) statt hex-Code.
.myTextColor { color: #502B4E; }
<p style="color:#502B4E">This sample text font color is #502B4E.</p>
Die Farbe dieses Textes ist #502B4E.
.myBgColor { background-color: #502B4E; }
<div style="background-color:#502B4E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #502B4E.
.myBorderColor { border: 1px solid #502B4E; }
<div style="border:3px solid #502B4E">Div</div>
Die Grenzen von diesem div sind in Farbe #502B4E.
.myOpacity80 { color: #502B4E; opacity: 0.8; }
<p style="color:#502B4E;opacity:0.8;">80%</p>
Text in Farbe #502B4E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #502B4E;}
<p style="text-shadow: 3px 3px 1px #502B4E">Text here.</p>
Dieser Text hat den Schatten in Farbe #502B4E.
.textShadow {text-shadow: 3px 3px 1px #502B4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #502B4E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #502B4E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#502B4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#502B4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #502B4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #502B4E; -webkit-box-shadow: 1px 1px 3px 2px #502B4E; box-shadow: 1px 1px 3px 2px #502B4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #502B4E; -webkit-box-shadow: 1px 1px 3px 2px #502B4E; box-shadow:1px 1px 3px 2px #502B4E;">
Div content here</div>
Dieser Text ist in der Farbe #502B4E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #502B4E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #502B4E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #502B4E.