HEX: #7DB42D
RGB: (125,180,45)
#7DB42D enthält hauptsächlich rote und grüne Farbe. Für #7DB42D ist eine «websichere» Webfarbe #66CC33 (oder kurz #6C3).
Die Farbe #7DB42D wird in RGB als (125,180,45) definiert.
RGB: (125,180,45) (49%,71%,18%)
R 125 von 255 = 49%
G 180 von 255 = 71%
B 45 von 255 = 18%
R + G + B ~ 46%. #7DB42D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
125 + 180 + 45 = 350 (100%)
R 125 von 350 ~ 35.71%
G 180 von 350 ~ 51.43%
B 45 von 350 ~ 12.86%
Die Farbe #7DB42D wird in CMYK als (31,0,75,29) definiert.
CMYK: (31,0,75,29) C31M0Y75K29 (31%,0%,75%,29%) (0.31/0.00/0.75/0.29)
7D | B4 | 2D | |
---|---|---|---|
RGB | 125 | 180 | 45 |
HSL | 84° | 60.00% | 44.12% |
HSB/HSV | 84° | 75.00% | 70.59% |
CMYK | 30.56% | 0.00% | 75.00% |
29.41% |
Hexadezimal | 7D | B4 | 2D |
Dezimal | 125 | 180 | 45 |
Binär | 1111101 | 10110100 | 101101 |
Oktal | 175 | 264 | 55 |
Beispiele css- und html für Elemente in der Farbe #7DB42D. Bitte benutzen Sie auch rgb(125,180,45) statt hex-Code.
.myTextColor { color: #7DB42D; }
<p style="color:#7DB42D">This sample text font color is #7DB42D.</p>
Die Farbe dieses Textes ist #7DB42D.
.myBgColor { background-color: #7DB42D; }
<div style="background-color:#7DB42D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7DB42D.
.myBorderColor { border: 1px solid #7DB42D; }
<div style="border:3px solid #7DB42D">Div</div>
Die Grenzen von diesem div sind in Farbe #7DB42D.
.myOpacity80 { color: #7DB42D; opacity: 0.8; }
<p style="color:#7DB42D;opacity:0.8;">80%</p>
Text in Farbe #7DB42D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7DB42D;}
<p style="text-shadow: 3px 3px 1px #7DB42D">Text here.</p>
Dieser Text hat den Schatten in Farbe #7DB42D.
.textShadow {text-shadow: 3px 3px 1px #7DB42D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7DB42D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7DB42D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7DB42D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7DB42D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7DB42D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7DB42D; -webkit-box-shadow: 1px 1px 3px 2px #7DB42D; box-shadow: 1px 1px 3px 2px #7DB42D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7DB42D; -webkit-box-shadow: 1px 1px 3px 2px #7DB42D; box-shadow:1px 1px 3px 2px #7DB42D;">
Div content here</div>
Dieser Text ist in der Farbe #7DB42D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7DB42D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7DB42D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7DB42D.