HEX: #18D812
RGB: (24,216,18)
#18D812 enthält hauptsächlich grüne Farbe. Für #18D812 ist eine «websichere» Webfarbe #00CC00 (oder kurz #0C0).
Die Farbe #18D812 wird in RGB als (24,216,18) definiert.
RGB: (24,216,18) (9%,85%,7%)
R 24 von 255 = 9%
G 216 von 255 = 85%
B 18 von 255 = 7%
R + G + B ~ 34%. #18D812 ziemlich dunkle Farbe.
R + G + B =
24 + 216 + 18 = 258 (100%)
R 24 von 258 ~ 9.3%
G 216 von 258 ~ 83.72%
B 18 von 258 ~ 6.98%
Die Farbe #18D812 wird in CMYK als (89,0,92,15) definiert.
CMYK: (89,0,92,15) C89M0Y92K15 (89%,0%,92%,15%) (0.89/0.00/0.92/0.15)
18 | D8 | 12 | |
---|---|---|---|
RGB | 24 | 216 | 18 |
HSL | 118° | 84.62% | 45.88% |
HSB/HSV | 118° | 91.67% | 84.71% |
CMYK | 88.89% | 0.00% | 91.67% |
15.29% |
Hexadezimal | 18 | D8 | 12 |
Dezimal | 24 | 216 | 18 |
Binär | 11000 | 11011000 | 10010 |
Oktal | 30 | 330 | 22 |
Beispiele css- und html für Elemente in der Farbe #18D812. Bitte benutzen Sie auch rgb(24,216,18) statt hex-Code.
.myTextColor { color: #18D812; }
<p style="color:#18D812">This sample text font color is #18D812.</p>
Die Farbe dieses Textes ist #18D812.
.myBgColor { background-color: #18D812; }
<div style="background-color:#18D812">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #18D812.
.myBorderColor { border: 1px solid #18D812; }
<div style="border:3px solid #18D812">Div</div>
Die Grenzen von diesem div sind in Farbe #18D812.
.myOpacity80 { color: #18D812; opacity: 0.8; }
<p style="color:#18D812;opacity:0.8;">80%</p>
Text in Farbe #18D812 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #18D812;}
<p style="text-shadow: 3px 3px 1px #18D812">Text here.</p>
Dieser Text hat den Schatten in Farbe #18D812.
.textShadow {text-shadow: 3px 3px 1px #18D812, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #18D812, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #18D812 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#18D812, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#18D812, Direction=45, Strength=4)">Text</p>
This text has shadow with #18D812 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #18D812; -webkit-box-shadow: 1px 1px 3px 2px #18D812; box-shadow: 1px 1px 3px 2px #18D812; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #18D812; -webkit-box-shadow: 1px 1px 3px 2px #18D812; box-shadow:1px 1px 3px 2px #18D812;">
Div content here</div>
Dieser Text ist in der Farbe #18D812 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #18D812 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #18D812.
Dieser Text ist weiß auf dem Hintergrund in Farbe #18D812.