HEX: #4A787D
RGB: (74,120,125)
#4A787D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4A787D ist eine «websichere» Webfarbe #336666 (oder kurz #366).
Die Farbe #4A787D wird in RGB als (74,120,125) definiert.
RGB: (74,120,125) (29%,47%,49%)
R 74 von 255 = 29%
G 120 von 255 = 47%
B 125 von 255 = 49%
R + G + B ~ 42%. #4A787D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
74 + 120 + 125 = 319 (100%)
R 74 von 319 ~ 23.2%
G 120 von 319 ~ 37.62%
B 125 von 319 ~ 39.18%
Die Farbe #4A787D wird in CMYK als (41,4,0,51) definiert.
CMYK: (41,4,0,51) C41M4Y0K51 (41%,4%,0%,51%) (0.41/0.04/0.00/0.51)
4A | 78 | 7D | |
---|---|---|---|
RGB | 74 | 120 | 125 |
HSL | 186° | 25.63% | 39.02% |
HSB/HSV | 186° | 40.80% | 49.02% |
CMYK | 40.80% | 4.00% | 0.00% |
50.98% |
Hexadezimal | 4A | 78 | 7D |
Dezimal | 74 | 120 | 125 |
Binär | 1001010 | 1111000 | 1111101 |
Oktal | 112 | 170 | 175 |
Beispiele css- und html für Elemente in der Farbe #4A787D. Bitte benutzen Sie auch rgb(74,120,125) statt hex-Code.
.myTextColor { color: #4A787D; }
<p style="color:#4A787D">This sample text font color is #4A787D.</p>
Die Farbe dieses Textes ist #4A787D.
.myBgColor { background-color: #4A787D; }
<div style="background-color:#4A787D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4A787D.
.myBorderColor { border: 1px solid #4A787D; }
<div style="border:3px solid #4A787D">Div</div>
Die Grenzen von diesem div sind in Farbe #4A787D.
.myOpacity80 { color: #4A787D; opacity: 0.8; }
<p style="color:#4A787D;opacity:0.8;">80%</p>
Text in Farbe #4A787D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A787D;}
<p style="text-shadow: 3px 3px 1px #4A787D">Text here.</p>
Dieser Text hat den Schatten in Farbe #4A787D.
.textShadow {text-shadow: 3px 3px 1px #4A787D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A787D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4A787D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A787D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A787D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A787D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A787D; -webkit-box-shadow: 1px 1px 3px 2px #4A787D; box-shadow: 1px 1px 3px 2px #4A787D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A787D; -webkit-box-shadow: 1px 1px 3px 2px #4A787D; box-shadow:1px 1px 3px 2px #4A787D;">
Div content here</div>
Dieser Text ist in der Farbe #4A787D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4A787D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4A787D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4A787D.