HEX: #A5B918
RGB: (165,185,24)
#A5B918 enthält hauptsächlich rote und grüne Farbe. Für #A5B918 ist eine «websichere» Webfarbe #99CC00 (oder kurz #9C0).
Die Farbe #A5B918 wird in RGB als (165,185,24) definiert.
RGB: (165,185,24) (65%,73%,9%)
R 165 von 255 = 65%
G 185 von 255 = 73%
B 24 von 255 = 9%
R + G + B ~ 49%. #A5B918 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
165 + 185 + 24 = 374 (100%)
R 165 von 374 ~ 44.12%
G 185 von 374 ~ 49.47%
B 24 von 374 ~ 6.42%
Die Farbe #A5B918 wird in CMYK als (11,0,87,27) definiert.
CMYK: (11,0,87,27) C11M0Y87K27 (11%,0%,87%,27%) (0.11/0.00/0.87/0.27)
A5 | B9 | 18 | |
---|---|---|---|
RGB | 165 | 185 | 24 |
HSL | 67° | 77.03% | 40.98% |
HSB/HSV | 67° | 87.03% | 72.55% |
CMYK | 10.81% | 0.00% | 87.03% |
27.45% |
Hexadezimal | A5 | B9 | 18 |
Dezimal | 165 | 185 | 24 |
Binär | 10100101 | 10111001 | 11000 |
Oktal | 245 | 271 | 30 |
Beispiele css- und html für Elemente in der Farbe #A5B918. Bitte benutzen Sie auch rgb(165,185,24) statt hex-Code.
.myTextColor { color: #A5B918; }
<p style="color:#A5B918">This sample text font color is #A5B918.</p>
Die Farbe dieses Textes ist #A5B918.
.myBgColor { background-color: #A5B918; }
<div style="background-color:#A5B918">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #A5B918.
.myBorderColor { border: 1px solid #A5B918; }
<div style="border:3px solid #A5B918">Div</div>
Die Grenzen von diesem div sind in Farbe #A5B918.
.myOpacity80 { color: #A5B918; opacity: 0.8; }
<p style="color:#A5B918;opacity:0.8;">80%</p>
Text in Farbe #A5B918 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B918;}
<p style="text-shadow: 3px 3px 1px #A5B918">Text here.</p>
Dieser Text hat den Schatten in Farbe #A5B918.
.textShadow {text-shadow: 3px 3px 1px #A5B918, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B918, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #A5B918 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B918, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B918, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B918 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B918; -webkit-box-shadow: 1px 1px 3px 2px #A5B918; box-shadow: 1px 1px 3px 2px #A5B918; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B918; -webkit-box-shadow: 1px 1px 3px 2px #A5B918; box-shadow:1px 1px 3px 2px #A5B918;">
Div content here</div>
Dieser Text ist in der Farbe #A5B918 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #A5B918 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #A5B918.
Dieser Text ist weiß auf dem Hintergrund in Farbe #A5B918.