HEX: #4B9946
RGB: (75,153,70)
#4B9946 enthält hauptsächlich grüne Farbe. Für #4B9946 ist eine «websichere» Webfarbe #339933 (oder kurz #393).
Die Farbe #4B9946 wird in RGB als (75,153,70) definiert.
RGB: (75,153,70) (29%,60%,27%)
R 75 von 255 = 29%
G 153 von 255 = 60%
B 70 von 255 = 27%
R + G + B ~ 39%. #4B9946 ziemlich dunkle Farbe.
R + G + B =
75 + 153 + 70 = 298 (100%)
R 75 von 298 ~ 25.17%
G 153 von 298 ~ 51.34%
B 70 von 298 ~ 23.49%
Die Farbe #4B9946 wird in CMYK als (51,0,54,40) definiert.
CMYK: (51,0,54,40) C51M0Y54K40 (51%,0%,54%,40%) (0.51/0.00/0.54/0.40)
4B | 99 | 46 | |
---|---|---|---|
RGB | 75 | 153 | 70 |
HSL | 116° | 37.22% | 43.73% |
HSB/HSV | 116° | 54.25% | 60.00% |
CMYK | 50.98% | 0.00% | 54.25% |
40.00% |
Hexadezimal | 4B | 99 | 46 |
Dezimal | 75 | 153 | 70 |
Binär | 1001011 | 10011001 | 1000110 |
Oktal | 113 | 231 | 106 |
Beispiele css- und html für Elemente in der Farbe #4B9946. Bitte benutzen Sie auch rgb(75,153,70) statt hex-Code.
.myTextColor { color: #4B9946; }
<p style="color:#4B9946">This sample text font color is #4B9946.</p>
Die Farbe dieses Textes ist #4B9946.
.myBgColor { background-color: #4B9946; }
<div style="background-color:#4B9946">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4B9946.
.myBorderColor { border: 1px solid #4B9946; }
<div style="border:3px solid #4B9946">Div</div>
Die Grenzen von diesem div sind in Farbe #4B9946.
.myOpacity80 { color: #4B9946; opacity: 0.8; }
<p style="color:#4B9946;opacity:0.8;">80%</p>
Text in Farbe #4B9946 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B9946;}
<p style="text-shadow: 3px 3px 1px #4B9946">Text here.</p>
Dieser Text hat den Schatten in Farbe #4B9946.
.textShadow {text-shadow: 3px 3px 1px #4B9946, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B9946, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4B9946 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B9946, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B9946, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B9946 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B9946; -webkit-box-shadow: 1px 1px 3px 2px #4B9946; box-shadow: 1px 1px 3px 2px #4B9946; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B9946; -webkit-box-shadow: 1px 1px 3px 2px #4B9946; box-shadow:1px 1px 3px 2px #4B9946;">
Div content here</div>
Dieser Text ist in der Farbe #4B9946 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4B9946 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4B9946.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4B9946.