HEX: #51C215
RGB: (81,194,21)
#51C215 enthält hauptsächlich grüne Farbe. Für #51C215 ist eine «websichere» Webfarbe #66CC00 (oder kurz #6C0).
Die Farbe #51C215 wird in RGB als (81,194,21) definiert.
RGB: (81,194,21) (32%,76%,8%)
R 81 von 255 = 32%
G 194 von 255 = 76%
B 21 von 255 = 8%
R + G + B ~ 39%. #51C215 ziemlich dunkle Farbe.
R + G + B =
81 + 194 + 21 = 296 (100%)
R 81 von 296 ~ 27.36%
G 194 von 296 ~ 65.54%
B 21 von 296 ~ 7.09%
Die Farbe #51C215 wird in CMYK als (58,0,89,24) definiert.
CMYK: (58,0,89,24) C58M0Y89K24 (58%,0%,89%,24%) (0.58/0.00/0.89/0.24)
51 | C2 | 15 | |
---|---|---|---|
RGB | 81 | 194 | 21 |
HSL | 99° | 80.47% | 42.16% |
HSB/HSV | 99° | 89.18% | 76.08% |
CMYK | 58.25% | 0.00% | 89.18% |
23.92% |
Hexadezimal | 51 | C2 | 15 |
Dezimal | 81 | 194 | 21 |
Binär | 1010001 | 11000010 | 10101 |
Oktal | 121 | 302 | 25 |
Beispiele css- und html für Elemente in der Farbe #51C215. Bitte benutzen Sie auch rgb(81,194,21) statt hex-Code.
.myTextColor { color: #51C215; }
<p style="color:#51C215">This sample text font color is #51C215.</p>
Die Farbe dieses Textes ist #51C215.
.myBgColor { background-color: #51C215; }
<div style="background-color:#51C215">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #51C215.
.myBorderColor { border: 1px solid #51C215; }
<div style="border:3px solid #51C215">Div</div>
Die Grenzen von diesem div sind in Farbe #51C215.
.myOpacity80 { color: #51C215; opacity: 0.8; }
<p style="color:#51C215;opacity:0.8;">80%</p>
Text in Farbe #51C215 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51C215;}
<p style="text-shadow: 3px 3px 1px #51C215">Text here.</p>
Dieser Text hat den Schatten in Farbe #51C215.
.textShadow {text-shadow: 3px 3px 1px #51C215, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51C215, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #51C215 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51C215, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51C215, Direction=45, Strength=4)">Text</p>
This text has shadow with #51C215 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51C215; -webkit-box-shadow: 1px 1px 3px 2px #51C215; box-shadow: 1px 1px 3px 2px #51C215; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51C215; -webkit-box-shadow: 1px 1px 3px 2px #51C215; box-shadow:1px 1px 3px 2px #51C215;">
Div content here</div>
Dieser Text ist in der Farbe #51C215 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #51C215 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #51C215.
Dieser Text ist weiß auf dem Hintergrund in Farbe #51C215.