HEX: #51D902
RGB: (81,217,2)
#51D902 enthält hauptsächlich grüne Farbe. Für #51D902 ist eine «websichere» Webfarbe #66CC00 (oder kurz #6C0).
Die Farbe #51D902 wird in RGB als (81,217,2) definiert.
RGB: (81,217,2) (32%,85%,1%)
R 81 von 255 = 32%
G 217 von 255 = 85%
B 2 von 255 = 1%
R + G + B ~ 39%. #51D902 ziemlich dunkle Farbe.
R + G + B =
81 + 217 + 2 = 300 (100%)
R 81 von 300 ~ 27%
G 217 von 300 ~ 72.33%
B 2 von 300 ~ 0.67%
Die Farbe #51D902 wird in CMYK als (63,0,99,15) definiert.
CMYK: (63,0,99,15) C63M0Y99K15 (63%,0%,99%,15%) (0.63/0.00/0.99/0.15)
51 | D9 | 02 | |
---|---|---|---|
RGB | 81 | 217 | 2 |
HSL | 98° | 98.17% | 42.94% |
HSB/HSV | 98° | 99.08% | 85.10% |
CMYK | 62.67% | 0.00% | 99.08% |
14.90% |
Hexadezimal | 51 | D9 | 02 |
Dezimal | 81 | 217 | 2 |
Binär | 1010001 | 11011001 | 10 |
Oktal | 121 | 331 | 2 |
Beispiele css- und html für Elemente in der Farbe #51D902. Bitte benutzen Sie auch rgb(81,217,2) statt hex-Code.
.myTextColor { color: #51D902; }
<p style="color:#51D902">This sample text font color is #51D902.</p>
Die Farbe dieses Textes ist #51D902.
.myBgColor { background-color: #51D902; }
<div style="background-color:#51D902">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51D902.
.myBorderColor { border: 1px solid #51D902; }
<div style="border:3px solid #51D902">Div</div>
Die Grenzen von diesem div sind in Farbe #51D902.
.myOpacity80 { color: #51D902; opacity: 0.8; }
<p style="color:#51D902;opacity:0.8;">80%</p>
Text in Farbe #51D902 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51D902;}
<p style="text-shadow: 3px 3px 1px #51D902">Text here.</p>
Dieser Text hat den Schatten in Farbe #51D902.
.textShadow {text-shadow: 3px 3px 1px #51D902, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51D902, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51D902 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51D902, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51D902, Direction=45, Strength=4)">Text</p>
This text has shadow with #51D902 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51D902; -webkit-box-shadow: 1px 1px 3px 2px #51D902; box-shadow: 1px 1px 3px 2px #51D902; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51D902; -webkit-box-shadow: 1px 1px 3px 2px #51D902; box-shadow:1px 1px 3px 2px #51D902;">
Div content here</div>
Dieser Text ist in der Farbe #51D902 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51D902 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51D902.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51D902.