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