HEX: #509A6C
RGB: (80,154,108)
#509A6C enthält hauptsächlich grüne und blaue Farbe. Für #509A6C ist eine «websichere» Webfarbe #669966 (oder kurz #696).
Die Farbe #509A6C wird in RGB als (80,154,108) definiert.
RGB: (80,154,108) (31%,60%,42%)
R 80 von 255 = 31%
G 154 von 255 = 60%
B 108 von 255 = 42%
R + G + B ~ 44%. #509A6C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 154 + 108 = 342 (100%)
R 80 von 342 ~ 23.39%
G 154 von 342 ~ 45.03%
B 108 von 342 ~ 31.58%
Die Farbe #509A6C wird in CMYK als (48,0,30,40) definiert.
CMYK: (48,0,30,40) C48M0Y30K40 (48%,0%,30%,40%) (0.48/0.00/0.30/0.40)
50 | 9A | 6C | |
---|---|---|---|
RGB | 80 | 154 | 108 |
HSL | 143° | 31.62% | 45.88% |
HSB/HSV | 143° | 48.05% | 60.39% |
CMYK | 48.05% | 0.00% | 29.87% |
39.61% |
Hexadezimal | 50 | 9A | 6C |
Dezimal | 80 | 154 | 108 |
Binär | 1010000 | 10011010 | 1101100 |
Oktal | 120 | 232 | 154 |
Beispiele css- und html für Elemente in der Farbe #509A6C. Bitte benutzen Sie auch rgb(80,154,108) statt hex-Code.
.myTextColor { color: #509A6C; }
<p style="color:#509A6C">This sample text font color is #509A6C.</p>
Die Farbe dieses Textes ist #509A6C.
.myBgColor { background-color: #509A6C; }
<div style="background-color:#509A6C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #509A6C.
.myBorderColor { border: 1px solid #509A6C; }
<div style="border:3px solid #509A6C">Div</div>
Die Grenzen von diesem div sind in Farbe #509A6C.
.myOpacity80 { color: #509A6C; opacity: 0.8; }
<p style="color:#509A6C;opacity:0.8;">80%</p>
Text in Farbe #509A6C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509A6C;}
<p style="text-shadow: 3px 3px 1px #509A6C">Text here.</p>
Dieser Text hat den Schatten in Farbe #509A6C.
.textShadow {text-shadow: 3px 3px 1px #509A6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509A6C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #509A6C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509A6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509A6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #509A6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509A6C; -webkit-box-shadow: 1px 1px 3px 2px #509A6C; box-shadow: 1px 1px 3px 2px #509A6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509A6C; -webkit-box-shadow: 1px 1px 3px 2px #509A6C; box-shadow:1px 1px 3px 2px #509A6C;">
Div content here</div>
Dieser Text ist in der Farbe #509A6C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #509A6C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #509A6C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #509A6C.