HEX: #4C5147
RGB: (76,81,71)
#4C5147 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4C5147 ist eine «websichere» Webfarbe #336633 (oder kurz #363).
Die Farbe #4C5147 wird in RGB als (76,81,71) definiert.
RGB: (76,81,71) (30%,32%,28%)
R 76 von 255 = 30%
G 81 von 255 = 32%
B 71 von 255 = 28%
R + G + B ~ 30%. #4C5147 ziemlich dunkle Farbe.
R + G + B =
76 + 81 + 71 = 228 (100%)
R 76 von 228 ~ 33.33%
G 81 von 228 ~ 35.53%
B 71 von 228 ~ 31.14%
Die Farbe #4C5147 wird in CMYK als (6,0,12,68) definiert.
CMYK: (6,0,12,68) C6M0Y12K68 (6%,0%,12%,68%) (0.06/0.00/0.12/0.68)
4C | 51 | 47 | |
---|---|---|---|
RGB | 76 | 81 | 71 |
HSL | 90° | 6.58% | 29.80% |
HSB/HSV | 90° | 12.35% | 31.76% |
CMYK | 6.17% | 0.00% | 12.35% |
68.24% |
Hexadezimal | 4C | 51 | 47 |
Dezimal | 76 | 81 | 71 |
Binär | 1001100 | 1010001 | 1000111 |
Oktal | 114 | 121 | 107 |
Beispiele css- und html für Elemente in der Farbe #4C5147. Bitte benutzen Sie auch rgb(76,81,71) statt hex-Code.
.myTextColor { color: #4C5147; }
<p style="color:#4C5147">This sample text font color is #4C5147.</p>
Die Farbe dieses Textes ist #4C5147.
.myBgColor { background-color: #4C5147; }
<div style="background-color:#4C5147">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C5147.
.myBorderColor { border: 1px solid #4C5147; }
<div style="border:3px solid #4C5147">Div</div>
Die Grenzen von diesem div sind in Farbe #4C5147.
.myOpacity80 { color: #4C5147; opacity: 0.8; }
<p style="color:#4C5147;opacity:0.8;">80%</p>
Text in Farbe #4C5147 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C5147;}
<p style="text-shadow: 3px 3px 1px #4C5147">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C5147.
.textShadow {text-shadow: 3px 3px 1px #4C5147, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C5147, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C5147 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C5147, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C5147, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C5147 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C5147; -webkit-box-shadow: 1px 1px 3px 2px #4C5147; box-shadow: 1px 1px 3px 2px #4C5147; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C5147; -webkit-box-shadow: 1px 1px 3px 2px #4C5147; box-shadow:1px 1px 3px 2px #4C5147;">
Div content here</div>
Dieser Text ist in der Farbe #4C5147 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C5147 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C5147.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C5147.