HEX: #51D22D
RGB: (81,210,45)
#51D22D enthält hauptsächlich grüne Farbe. Für #51D22D ist eine «websichere» Webfarbe #66CC33 (oder kurz #6C3).
Die Farbe #51D22D wird in RGB als (81,210,45) definiert.
RGB: (81,210,45) (32%,82%,18%)
R 81 von 255 = 32%
G 210 von 255 = 82%
B 45 von 255 = 18%
R + G + B ~ 44%. #51D22D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
81 + 210 + 45 = 336 (100%)
R 81 von 336 ~ 24.11%
G 210 von 336 ~ 62.5%
B 45 von 336 ~ 13.39%
Die Farbe #51D22D wird in CMYK als (61,0,79,18) definiert.
CMYK: (61,0,79,18) C61M0Y79K18 (61%,0%,79%,18%) (0.61/0.00/0.79/0.18)
51 | D2 | 2D | |
---|---|---|---|
RGB | 81 | 210 | 45 |
HSL | 107° | 64.71% | 50.00% |
HSB/HSV | 107° | 78.57% | 82.35% |
CMYK | 61.43% | 0.00% | 78.57% |
17.65% |
Hexadezimal | 51 | D2 | 2D |
Dezimal | 81 | 210 | 45 |
Binär | 1010001 | 11010010 | 101101 |
Oktal | 121 | 322 | 55 |
Beispiele css- und html für Elemente in der Farbe #51D22D. Bitte benutzen Sie auch rgb(81,210,45) statt hex-Code.
.myTextColor { color: #51D22D; }
<p style="color:#51D22D">This sample text font color is #51D22D.</p>
Die Farbe dieses Textes ist #51D22D.
.myBgColor { background-color: #51D22D; }
<div style="background-color:#51D22D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51D22D.
.myBorderColor { border: 1px solid #51D22D; }
<div style="border:3px solid #51D22D">Div</div>
Die Grenzen von diesem div sind in Farbe #51D22D.
.myOpacity80 { color: #51D22D; opacity: 0.8; }
<p style="color:#51D22D;opacity:0.8;">80%</p>
Text in Farbe #51D22D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51D22D;}
<p style="text-shadow: 3px 3px 1px #51D22D">Text here.</p>
Dieser Text hat den Schatten in Farbe #51D22D.
.textShadow {text-shadow: 3px 3px 1px #51D22D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51D22D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51D22D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51D22D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51D22D, Direction=45, Strength=4)">Text</p>
This text has shadow with #51D22D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51D22D; -webkit-box-shadow: 1px 1px 3px 2px #51D22D; box-shadow: 1px 1px 3px 2px #51D22D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51D22D; -webkit-box-shadow: 1px 1px 3px 2px #51D22D; box-shadow:1px 1px 3px 2px #51D22D;">
Div content here</div>
Dieser Text ist in der Farbe #51D22D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51D22D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51D22D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51D22D.