HEX: #874D21
RGB: (135,77,33)
#874D21 enthält hauptsächlich rote und grüne Farbe. Für #874D21 ist eine «websichere» Webfarbe #993333 (oder kurz #933).
Die Farbe #874D21 wird in RGB als (135,77,33) definiert.
RGB: (135,77,33) (53%,30%,13%)
R 135 von 255 = 53%
G 77 von 255 = 30%
B 33 von 255 = 13%
R + G + B ~ 32%. #874D21 ziemlich dunkle Farbe.
R + G + B =
135 + 77 + 33 = 245 (100%)
R 135 von 245 ~ 55.1%
G 77 von 245 ~ 31.43%
B 33 von 245 ~ 13.47%
Die Farbe #874D21 wird in CMYK als (0,43,76,47) definiert.
CMYK: (0,43,76,47) C0M43Y76K47 (0%,43%,76%,47%) (0.00/0.43/0.76/0.47)
87 | 4D | 21 | |
---|---|---|---|
RGB | 135 | 77 | 33 |
HSL | 26° | 60.71% | 32.94% |
HSB/HSV | 26° | 75.56% | 52.94% |
CMYK | 0.00% | 42.96% | 75.56% |
47.06% |
Hexadezimal | 87 | 4D | 21 |
Dezimal | 135 | 77 | 33 |
Binär | 10000111 | 1001101 | 100001 |
Oktal | 207 | 115 | 41 |
Beispiele css- und html für Elemente in der Farbe #874D21. Bitte benutzen Sie auch rgb(135,77,33) statt hex-Code.
.myTextColor { color: #874D21; }
<p style="color:#874D21">This sample text font color is #874D21.</p>
Die Farbe dieses Textes ist #874D21.
.myBgColor { background-color: #874D21; }
<div style="background-color:#874D21">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #874D21.
.myBorderColor { border: 1px solid #874D21; }
<div style="border:3px solid #874D21">Div</div>
Die Grenzen von diesem div sind in Farbe #874D21.
.myOpacity80 { color: #874D21; opacity: 0.8; }
<p style="color:#874D21;opacity:0.8;">80%</p>
Text in Farbe #874D21 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #874D21;}
<p style="text-shadow: 3px 3px 1px #874D21">Text here.</p>
Dieser Text hat den Schatten in Farbe #874D21.
.textShadow {text-shadow: 3px 3px 1px #874D21, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #874D21, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #874D21 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#874D21, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#874D21, Direction=45, Strength=4)">Text</p>
This text has shadow with #874D21 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #874D21; -webkit-box-shadow: 1px 1px 3px 2px #874D21; box-shadow: 1px 1px 3px 2px #874D21; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #874D21; -webkit-box-shadow: 1px 1px 3px 2px #874D21; box-shadow:1px 1px 3px 2px #874D21;">
Div content here</div>
Dieser Text ist in der Farbe #874D21 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #874D21 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #874D21.
Dieser Text ist weiß auf dem Hintergrund in Farbe #874D21.