HEX: #509B5B
RGB: (80,155,91)
#509B5B enthält hauptsächlich grüne Farbe. Für #509B5B ist eine «websichere» Webfarbe #669966 (oder kurz #696).
Die Farbe #509B5B wird in RGB als (80,155,91) definiert.
RGB: (80,155,91) (31%,61%,36%)
R 80 von 255 = 31%
G 155 von 255 = 61%
B 91 von 255 = 36%
R + G + B ~ 43%. #509B5B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 155 + 91 = 326 (100%)
R 80 von 326 ~ 24.54%
G 155 von 326 ~ 47.55%
B 91 von 326 ~ 27.91%
Die Farbe #509B5B wird in CMYK als (48,0,41,39) definiert.
CMYK: (48,0,41,39) C48M0Y41K39 (48%,0%,41%,39%) (0.48/0.00/0.41/0.39)
50 | 9B | 5B | |
---|---|---|---|
RGB | 80 | 155 | 91 |
HSL | 129° | 31.91% | 46.08% |
HSB/HSV | 129° | 48.39% | 60.78% |
CMYK | 48.39% | 0.00% | 41.29% |
39.22% |
Hexadezimal | 50 | 9B | 5B |
Dezimal | 80 | 155 | 91 |
Binär | 1010000 | 10011011 | 1011011 |
Oktal | 120 | 233 | 133 |
Beispiele css- und html für Elemente in der Farbe #509B5B. Bitte benutzen Sie auch rgb(80,155,91) statt hex-Code.
.myTextColor { color: #509B5B; }
<p style="color:#509B5B">This sample text font color is #509B5B.</p>
Die Farbe dieses Textes ist #509B5B.
.myBgColor { background-color: #509B5B; }
<div style="background-color:#509B5B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #509B5B.
.myBorderColor { border: 1px solid #509B5B; }
<div style="border:3px solid #509B5B">Div</div>
Die Grenzen von diesem div sind in Farbe #509B5B.
.myOpacity80 { color: #509B5B; opacity: 0.8; }
<p style="color:#509B5B;opacity:0.8;">80%</p>
Text in Farbe #509B5B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509B5B;}
<p style="text-shadow: 3px 3px 1px #509B5B">Text here.</p>
Dieser Text hat den Schatten in Farbe #509B5B.
.textShadow {text-shadow: 3px 3px 1px #509B5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509B5B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #509B5B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509B5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509B5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #509B5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509B5B; -webkit-box-shadow: 1px 1px 3px 2px #509B5B; box-shadow: 1px 1px 3px 2px #509B5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509B5B; -webkit-box-shadow: 1px 1px 3px 2px #509B5B; box-shadow:1px 1px 3px 2px #509B5B;">
Div content here</div>
Dieser Text ist in der Farbe #509B5B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #509B5B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #509B5B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #509B5B.