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