HEX: #4A6A7E
RGB: (74,106,126)
#4A6A7E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4A6A7E ist eine «websichere» Webfarbe #336666 (oder kurz #366).
Die Farbe #4A6A7E wird in RGB als (74,106,126) definiert.
RGB: (74,106,126) (29%,42%,49%)
R 74 von 255 = 29%
G 106 von 255 = 42%
B 126 von 255 = 49%
R + G + B ~ 40%. #4A6A7E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
74 + 106 + 126 = 306 (100%)
R 74 von 306 ~ 24.18%
G 106 von 306 ~ 34.64%
B 126 von 306 ~ 41.18%
Die Farbe #4A6A7E wird in CMYK als (41,16,0,51) definiert.
CMYK: (41,16,0,51) C41M16Y0K51 (41%,16%,0%,51%) (0.41/0.16/0.00/0.51)
4A | 6A | 7E | |
---|---|---|---|
RGB | 74 | 106 | 126 |
HSL | 203° | 26.00% | 39.22% |
HSB/HSV | 203° | 41.27% | 49.41% |
CMYK | 41.27% | 15.87% | 0.00% |
50.59% |
Hexadezimal | 4A | 6A | 7E |
Dezimal | 74 | 106 | 126 |
Binär | 1001010 | 1101010 | 1111110 |
Oktal | 112 | 152 | 176 |
Beispiele css- und html für Elemente in der Farbe #4A6A7E. Bitte benutzen Sie auch rgb(74,106,126) statt hex-Code.
.myTextColor { color: #4A6A7E; }
<p style="color:#4A6A7E">This sample text font color is #4A6A7E.</p>
Die Farbe dieses Textes ist #4A6A7E.
.myBgColor { background-color: #4A6A7E; }
<div style="background-color:#4A6A7E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4A6A7E.
.myBorderColor { border: 1px solid #4A6A7E; }
<div style="border:3px solid #4A6A7E">Div</div>
Die Grenzen von diesem div sind in Farbe #4A6A7E.
.myOpacity80 { color: #4A6A7E; opacity: 0.8; }
<p style="color:#4A6A7E;opacity:0.8;">80%</p>
Text in Farbe #4A6A7E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A6A7E;}
<p style="text-shadow: 3px 3px 1px #4A6A7E">Text here.</p>
Dieser Text hat den Schatten in Farbe #4A6A7E.
.textShadow {text-shadow: 3px 3px 1px #4A6A7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A6A7E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4A6A7E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A6A7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A6A7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A6A7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A6A7E; -webkit-box-shadow: 1px 1px 3px 2px #4A6A7E; box-shadow: 1px 1px 3px 2px #4A6A7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A6A7E; -webkit-box-shadow: 1px 1px 3px 2px #4A6A7E; box-shadow:1px 1px 3px 2px #4A6A7E;">
Div content here</div>
Dieser Text ist in der Farbe #4A6A7E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4A6A7E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4A6A7E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4A6A7E.