HEX: #4A505E
RGB: (74,80,94)
#4A505E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4A505E ist eine «websichere» Webfarbe #336666 (oder kurz #366).
Die Farbe #4A505E wird in RGB als (74,80,94) definiert.
RGB: (74,80,94) (29%,31%,37%)
R 74 von 255 = 29%
G 80 von 255 = 31%
B 94 von 255 = 37%
R + G + B ~ 32%. #4A505E ziemlich dunkle Farbe.
R + G + B =
74 + 80 + 94 = 248 (100%)
R 74 von 248 ~ 29.84%
G 80 von 248 ~ 32.26%
B 94 von 248 ~ 37.9%
Die Farbe #4A505E wird in CMYK als (21,15,0,63) definiert.
CMYK: (21,15,0,63) C21M15Y0K63 (21%,15%,0%,63%) (0.21/0.15/0.00/0.63)
4A | 50 | 5E | |
---|---|---|---|
RGB | 74 | 80 | 94 |
HSL | 222° | 11.90% | 32.94% |
HSB/HSV | 222° | 21.28% | 36.86% |
CMYK | 21.28% | 14.89% | 0.00% |
63.14% |
Hexadezimal | 4A | 50 | 5E |
Dezimal | 74 | 80 | 94 |
Binär | 1001010 | 1010000 | 1011110 |
Oktal | 112 | 120 | 136 |
Beispiele css- und html für Elemente in der Farbe #4A505E. Bitte benutzen Sie auch rgb(74,80,94) statt hex-Code.
.myTextColor { color: #4A505E; }
<p style="color:#4A505E">This sample text font color is #4A505E.</p>
Die Farbe dieses Textes ist #4A505E.
.myBgColor { background-color: #4A505E; }
<div style="background-color:#4A505E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4A505E.
.myBorderColor { border: 1px solid #4A505E; }
<div style="border:3px solid #4A505E">Div</div>
Die Grenzen von diesem div sind in Farbe #4A505E.
.myOpacity80 { color: #4A505E; opacity: 0.8; }
<p style="color:#4A505E;opacity:0.8;">80%</p>
Text in Farbe #4A505E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A505E;}
<p style="text-shadow: 3px 3px 1px #4A505E">Text here.</p>
Dieser Text hat den Schatten in Farbe #4A505E.
.textShadow {text-shadow: 3px 3px 1px #4A505E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A505E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4A505E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A505E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A505E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A505E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A505E; -webkit-box-shadow: 1px 1px 3px 2px #4A505E; box-shadow: 1px 1px 3px 2px #4A505E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A505E; -webkit-box-shadow: 1px 1px 3px 2px #4A505E; box-shadow:1px 1px 3px 2px #4A505E;">
Div content here</div>
Dieser Text ist in der Farbe #4A505E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4A505E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4A505E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4A505E.