HEX: #4B7227
RGB: (75,114,39)
#4B7227 enthält hauptsächlich rote und grüne Farbe. Für #4B7227 ist eine «websichere» Webfarbe #336633 (oder kurz #363).
Die Farbe #4B7227 wird in RGB als (75,114,39) definiert.
RGB: (75,114,39) (29%,45%,15%)
R 75 von 255 = 29%
G 114 von 255 = 45%
B 39 von 255 = 15%
R + G + B ~ 30%. #4B7227 ziemlich dunkle Farbe.
R + G + B =
75 + 114 + 39 = 228 (100%)
R 75 von 228 ~ 32.89%
G 114 von 228 ~ 50%
B 39 von 228 ~ 17.11%
Die Farbe #4B7227 wird in CMYK als (34,0,66,55) definiert.
CMYK: (34,0,66,55) C34M0Y66K55 (34%,0%,66%,55%) (0.34/0.00/0.66/0.55)
4B | 72 | 27 | |
---|---|---|---|
RGB | 75 | 114 | 39 |
HSL | 91° | 49.02% | 30.00% |
HSB/HSV | 91° | 65.79% | 44.71% |
CMYK | 34.21% | 0.00% | 65.79% |
55.29% |
Hexadezimal | 4B | 72 | 27 |
Dezimal | 75 | 114 | 39 |
Binär | 1001011 | 1110010 | 100111 |
Oktal | 113 | 162 | 47 |
Beispiele css- und html für Elemente in der Farbe #4B7227. Bitte benutzen Sie auch rgb(75,114,39) statt hex-Code.
.myTextColor { color: #4B7227; }
<p style="color:#4B7227">This sample text font color is #4B7227.</p>
Die Farbe dieses Textes ist #4B7227.
.myBgColor { background-color: #4B7227; }
<div style="background-color:#4B7227">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4B7227.
.myBorderColor { border: 1px solid #4B7227; }
<div style="border:3px solid #4B7227">Div</div>
Die Grenzen von diesem div sind in Farbe #4B7227.
.myOpacity80 { color: #4B7227; opacity: 0.8; }
<p style="color:#4B7227;opacity:0.8;">80%</p>
Text in Farbe #4B7227 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B7227;}
<p style="text-shadow: 3px 3px 1px #4B7227">Text here.</p>
Dieser Text hat den Schatten in Farbe #4B7227.
.textShadow {text-shadow: 3px 3px 1px #4B7227, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B7227, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4B7227 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B7227, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B7227, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B7227 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B7227; -webkit-box-shadow: 1px 1px 3px 2px #4B7227; box-shadow: 1px 1px 3px 2px #4B7227; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B7227; -webkit-box-shadow: 1px 1px 3px 2px #4B7227; box-shadow:1px 1px 3px 2px #4B7227;">
Div content here</div>
Dieser Text ist in der Farbe #4B7227 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4B7227 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4B7227.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4B7227.