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