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