HEX: #4D396B
RGB: (77,57,107)
#4D396B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4D396B ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #4D396B wird in RGB als (77,57,107) definiert.
RGB: (77,57,107) (30%,22%,42%)
R 77 von 255 = 30%
G 57 von 255 = 22%
B 107 von 255 = 42%
R + G + B ~ 31%. #4D396B ziemlich dunkle Farbe.
R + G + B =
77 + 57 + 107 = 241 (100%)
R 77 von 241 ~ 31.95%
G 57 von 241 ~ 23.65%
B 107 von 241 ~ 44.4%
Die Farbe #4D396B wird in CMYK als (28,47,0,58) definiert.
CMYK: (28,47,0,58) C28M47Y0K58 (28%,47%,0%,58%) (0.28/0.47/0.00/0.58)
4D | 39 | 6B | |
---|---|---|---|
RGB | 77 | 57 | 107 |
HSL | 264° | 30.49% | 32.16% |
HSB/HSV | 264° | 46.73% | 41.96% |
CMYK | 28.04% | 46.73% | 0.00% |
58.04% |
Hexadezimal | 4D | 39 | 6B |
Dezimal | 77 | 57 | 107 |
Binär | 1001101 | 111001 | 1101011 |
Oktal | 115 | 71 | 153 |
Beispiele css- und html für Elemente in der Farbe #4D396B. Bitte benutzen Sie auch rgb(77,57,107) statt hex-Code.
.myTextColor { color: #4D396B; }
<p style="color:#4D396B">This sample text font color is #4D396B.</p>
Die Farbe dieses Textes ist #4D396B.
.myBgColor { background-color: #4D396B; }
<div style="background-color:#4D396B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4D396B.
.myBorderColor { border: 1px solid #4D396B; }
<div style="border:3px solid #4D396B">Div</div>
Die Grenzen von diesem div sind in Farbe #4D396B.
.myOpacity80 { color: #4D396B; opacity: 0.8; }
<p style="color:#4D396B;opacity:0.8;">80%</p>
Text in Farbe #4D396B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D396B;}
<p style="text-shadow: 3px 3px 1px #4D396B">Text here.</p>
Dieser Text hat den Schatten in Farbe #4D396B.
.textShadow {text-shadow: 3px 3px 1px #4D396B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D396B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4D396B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D396B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D396B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D396B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D396B; -webkit-box-shadow: 1px 1px 3px 2px #4D396B; box-shadow: 1px 1px 3px 2px #4D396B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D396B; -webkit-box-shadow: 1px 1px 3px 2px #4D396B; box-shadow:1px 1px 3px 2px #4D396B;">
Div content here</div>
Dieser Text ist in der Farbe #4D396B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4D396B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4D396B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4D396B.