HEX: #338E51
RGB: (51,142,81)
#338E51 enthält hauptsächlich grüne Farbe. Für #338E51 ist eine «websichere» Webfarbe #339966 (oder kurz #396).
Die Farbe #338E51 wird in RGB als (51,142,81) definiert.
RGB: (51,142,81) (20%,56%,32%)
R 51 von 255 = 20%
G 142 von 255 = 56%
B 81 von 255 = 32%
R + G + B ~ 36%. #338E51 ziemlich dunkle Farbe.
R + G + B =
51 + 142 + 81 = 274 (100%)
R 51 von 274 ~ 18.61%
G 142 von 274 ~ 51.82%
B 81 von 274 ~ 29.56%
Die Farbe #338E51 wird in CMYK als (64,0,43,44) definiert.
CMYK: (64,0,43,44) C64M0Y43K44 (64%,0%,43%,44%) (0.64/0.00/0.43/0.44)
33 | 8E | 51 | |
---|---|---|---|
RGB | 51 | 142 | 81 |
HSL | 140° | 47.15% | 37.84% |
HSB/HSV | 140° | 64.08% | 55.69% |
CMYK | 64.08% | 0.00% | 42.96% |
44.31% |
Hexadezimal | 33 | 8E | 51 |
Dezimal | 51 | 142 | 81 |
Binär | 110011 | 10001110 | 1010001 |
Oktal | 63 | 216 | 121 |
Beispiele css- und html für Elemente in der Farbe #338E51. Bitte benutzen Sie auch rgb(51,142,81) statt hex-Code.
.myTextColor { color: #338E51; }
<p style="color:#338E51">This sample text font color is #338E51.</p>
Die Farbe dieses Textes ist #338E51.
.myBgColor { background-color: #338E51; }
<div style="background-color:#338E51">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #338E51.
.myBorderColor { border: 1px solid #338E51; }
<div style="border:3px solid #338E51">Div</div>
Die Grenzen von diesem div sind in Farbe #338E51.
.myOpacity80 { color: #338E51; opacity: 0.8; }
<p style="color:#338E51;opacity:0.8;">80%</p>
Text in Farbe #338E51 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #338E51;}
<p style="text-shadow: 3px 3px 1px #338E51">Text here.</p>
Dieser Text hat den Schatten in Farbe #338E51.
.textShadow {text-shadow: 3px 3px 1px #338E51, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #338E51, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #338E51 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#338E51, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#338E51, Direction=45, Strength=4)">Text</p>
This text has shadow with #338E51 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #338E51; -webkit-box-shadow: 1px 1px 3px 2px #338E51; box-shadow: 1px 1px 3px 2px #338E51; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #338E51; -webkit-box-shadow: 1px 1px 3px 2px #338E51; box-shadow:1px 1px 3px 2px #338E51;">
Div content here</div>
Dieser Text ist in der Farbe #338E51 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #338E51 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #338E51.
Dieser Text ist weiß auf dem Hintergrund in Farbe #338E51.