HEX: #4B7828
RGB: (75,120,40)
#4B7828 enthält hauptsächlich rote und grüne Farbe. Für #4B7828 ist eine «websichere» Webfarbe #336633 (oder kurz #363).
Die Farbe #4B7828 wird in RGB als (75,120,40) definiert.
RGB: (75,120,40) (29%,47%,16%)
R 75 von 255 = 29%
G 120 von 255 = 47%
B 40 von 255 = 16%
R + G + B ~ 31%. #4B7828 ziemlich dunkle Farbe.
R + G + B =
75 + 120 + 40 = 235 (100%)
R 75 von 235 ~ 31.91%
G 120 von 235 ~ 51.06%
B 40 von 235 ~ 17.02%
Die Farbe #4B7828 wird in CMYK als (38,0,67,53) definiert.
CMYK: (38,0,67,53) C38M0Y67K53 (38%,0%,67%,53%) (0.38/0.00/0.67/0.53)
4B | 78 | 28 | |
---|---|---|---|
RGB | 75 | 120 | 40 |
HSL | 94° | 50.00% | 31.37% |
HSB/HSV | 94° | 66.67% | 47.06% |
CMYK | 37.50% | 0.00% | 66.67% |
52.94% |
Hexadezimal | 4B | 78 | 28 |
Dezimal | 75 | 120 | 40 |
Binär | 1001011 | 1111000 | 101000 |
Oktal | 113 | 170 | 50 |
Beispiele css- und html für Elemente in der Farbe #4B7828. Bitte benutzen Sie auch rgb(75,120,40) statt hex-Code.
.myTextColor { color: #4B7828; }
<p style="color:#4B7828">This sample text font color is #4B7828.</p>
Die Farbe dieses Textes ist #4B7828.
.myBgColor { background-color: #4B7828; }
<div style="background-color:#4B7828">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4B7828.
.myBorderColor { border: 1px solid #4B7828; }
<div style="border:3px solid #4B7828">Div</div>
Die Grenzen von diesem div sind in Farbe #4B7828.
.myOpacity80 { color: #4B7828; opacity: 0.8; }
<p style="color:#4B7828;opacity:0.8;">80%</p>
Text in Farbe #4B7828 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7828;}
<p style="text-shadow: 3px 3px 1px #4B7828">Text here.</p>
Dieser Text hat den Schatten in Farbe #4B7828.
.textShadow {text-shadow: 3px 3px 1px #4B7828, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7828, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4B7828 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7828, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7828, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7828 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B7828; -webkit-box-shadow: 1px 1px 3px 2px #4B7828; box-shadow: 1px 1px 3px 2px #4B7828; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B7828; -webkit-box-shadow: 1px 1px 3px 2px #4B7828; box-shadow:1px 1px 3px 2px #4B7828;">
Div content here</div>
Dieser Text ist in der Farbe #4B7828 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4B7828 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4B7828.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4B7828.