HEX: #4D788B
RGB: (77,120,139)
#4D788B enthält hauptsächlich grüne und blaue Farbe. Für #4D788B ist eine «websichere» Webfarbe #336699 (oder kurz #369).
Die Farbe #4D788B wird in RGB als (77,120,139) definiert.
RGB: (77,120,139) (30%,47%,55%)
R 77 von 255 = 30%
G 120 von 255 = 47%
B 139 von 255 = 55%
R + G + B ~ 44%. #4D788B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
77 + 120 + 139 = 336 (100%)
R 77 von 336 ~ 22.92%
G 120 von 336 ~ 35.71%
B 139 von 336 ~ 41.37%
Die Farbe #4D788B wird in CMYK als (45,14,0,45) definiert.
CMYK: (45,14,0,45) C45M14Y0K45 (45%,14%,0%,45%) (0.45/0.14/0.00/0.45)
4D | 78 | 8B | |
---|---|---|---|
RGB | 77 | 120 | 139 |
HSL | 198° | 28.70% | 42.35% |
HSB/HSV | 198° | 44.60% | 54.51% |
CMYK | 44.60% | 13.67% | 0.00% |
45.49% |
Hexadezimal | 4D | 78 | 8B |
Dezimal | 77 | 120 | 139 |
Binär | 1001101 | 1111000 | 10001011 |
Oktal | 115 | 170 | 213 |
Beispiele css- und html für Elemente in der Farbe #4D788B. Bitte benutzen Sie auch rgb(77,120,139) statt hex-Code.
.myTextColor { color: #4D788B; }
<p style="color:#4D788B">This sample text font color is #4D788B.</p>
Die Farbe dieses Textes ist #4D788B.
.myBgColor { background-color: #4D788B; }
<div style="background-color:#4D788B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4D788B.
.myBorderColor { border: 1px solid #4D788B; }
<div style="border:3px solid #4D788B">Div</div>
Die Grenzen von diesem div sind in Farbe #4D788B.
.myOpacity80 { color: #4D788B; opacity: 0.8; }
<p style="color:#4D788B;opacity:0.8;">80%</p>
Text in Farbe #4D788B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D788B;}
<p style="text-shadow: 3px 3px 1px #4D788B">Text here.</p>
Dieser Text hat den Schatten in Farbe #4D788B.
.textShadow {text-shadow: 3px 3px 1px #4D788B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D788B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4D788B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D788B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D788B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D788B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D788B; -webkit-box-shadow: 1px 1px 3px 2px #4D788B; box-shadow: 1px 1px 3px 2px #4D788B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D788B; -webkit-box-shadow: 1px 1px 3px 2px #4D788B; box-shadow:1px 1px 3px 2px #4D788B;">
Div content here</div>
Dieser Text ist in der Farbe #4D788B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4D788B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4D788B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4D788B.