HEX: #4A7B60
RGB: (74,123,96)
#4A7B60 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4A7B60 ist eine «websichere» Webfarbe #336666 (oder kurz #366).
Die Farbe #4A7B60 wird in RGB als (74,123,96) definiert.
RGB: (74,123,96) (29%,48%,38%)
R 74 von 255 = 29%
G 123 von 255 = 48%
B 96 von 255 = 38%
R + G + B ~ 38%. #4A7B60 ziemlich dunkle Farbe.
R + G + B =
74 + 123 + 96 = 293 (100%)
R 74 von 293 ~ 25.26%
G 123 von 293 ~ 41.98%
B 96 von 293 ~ 32.76%
Die Farbe #4A7B60 wird in CMYK als (40,0,22,52) definiert.
CMYK: (40,0,22,52) C40M0Y22K52 (40%,0%,22%,52%) (0.40/0.00/0.22/0.52)
4A | 7B | 60 | |
---|---|---|---|
RGB | 74 | 123 | 96 |
HSL | 147° | 24.87% | 38.63% |
HSB/HSV | 147° | 39.84% | 48.24% |
CMYK | 39.84% | 0.00% | 21.95% |
51.76% |
Hexadezimal | 4A | 7B | 60 |
Dezimal | 74 | 123 | 96 |
Binär | 1001010 | 1111011 | 1100000 |
Oktal | 112 | 173 | 140 |
Beispiele css- und html für Elemente in der Farbe #4A7B60. Bitte benutzen Sie auch rgb(74,123,96) statt hex-Code.
.myTextColor { color: #4A7B60; }
<p style="color:#4A7B60">This sample text font color is #4A7B60.</p>
Die Farbe dieses Textes ist #4A7B60.
.myBgColor { background-color: #4A7B60; }
<div style="background-color:#4A7B60">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4A7B60.
.myBorderColor { border: 1px solid #4A7B60; }
<div style="border:3px solid #4A7B60">Div</div>
Die Grenzen von diesem div sind in Farbe #4A7B60.
.myOpacity80 { color: #4A7B60; opacity: 0.8; }
<p style="color:#4A7B60;opacity:0.8;">80%</p>
Text in Farbe #4A7B60 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A7B60;}
<p style="text-shadow: 3px 3px 1px #4A7B60">Text here.</p>
Dieser Text hat den Schatten in Farbe #4A7B60.
.textShadow {text-shadow: 3px 3px 1px #4A7B60, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A7B60, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4A7B60 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A7B60, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A7B60, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A7B60 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A7B60; -webkit-box-shadow: 1px 1px 3px 2px #4A7B60; box-shadow: 1px 1px 3px 2px #4A7B60; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A7B60; -webkit-box-shadow: 1px 1px 3px 2px #4A7B60; box-shadow:1px 1px 3px 2px #4A7B60;">
Div content here</div>
Dieser Text ist in der Farbe #4A7B60 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4A7B60 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4A7B60.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4A7B60.