HEX: #515B42
RGB: (81,91,66)
#515B42 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #515B42 ist eine «websichere» Webfarbe #666633 (oder kurz #663).
Die Farbe #515B42 wird in RGB als (81,91,66) definiert.
RGB: (81,91,66) (32%,36%,26%)
R 81 von 255 = 32%
G 91 von 255 = 36%
B 66 von 255 = 26%
R + G + B ~ 31%. #515B42 ziemlich dunkle Farbe.
R + G + B =
81 + 91 + 66 = 238 (100%)
R 81 von 238 ~ 34.03%
G 91 von 238 ~ 38.24%
B 66 von 238 ~ 27.73%
Die Farbe #515B42 wird in CMYK als (11,0,27,64) definiert.
CMYK: (11,0,27,64) C11M0Y27K64 (11%,0%,27%,64%) (0.11/0.00/0.27/0.64)
51 | 5B | 42 | |
---|---|---|---|
RGB | 81 | 91 | 66 |
HSL | 84° | 15.92% | 30.78% |
HSB/HSV | 84° | 27.47% | 35.69% |
CMYK | 10.99% | 0.00% | 27.47% |
64.31% |
Hexadezimal | 51 | 5B | 42 |
Dezimal | 81 | 91 | 66 |
Binär | 1010001 | 1011011 | 1000010 |
Oktal | 121 | 133 | 102 |
Beispiele css- und html für Elemente in der Farbe #515B42. Bitte benutzen Sie auch rgb(81,91,66) statt hex-Code.
.myTextColor { color: #515B42; }
<p style="color:#515B42">This sample text font color is #515B42.</p>
Die Farbe dieses Textes ist #515B42.
.myBgColor { background-color: #515B42; }
<div style="background-color:#515B42">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #515B42.
.myBorderColor { border: 1px solid #515B42; }
<div style="border:3px solid #515B42">Div</div>
Die Grenzen von diesem div sind in Farbe #515B42.
.myOpacity80 { color: #515B42; opacity: 0.8; }
<p style="color:#515B42;opacity:0.8;">80%</p>
Text in Farbe #515B42 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515B42;}
<p style="text-shadow: 3px 3px 1px #515B42">Text here.</p>
Dieser Text hat den Schatten in Farbe #515B42.
.textShadow {text-shadow: 3px 3px 1px #515B42, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515B42, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #515B42 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515B42, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515B42, Direction=45, Strength=4)">Text</p>
This text has shadow with #515B42 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515B42; -webkit-box-shadow: 1px 1px 3px 2px #515B42; box-shadow: 1px 1px 3px 2px #515B42; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515B42; -webkit-box-shadow: 1px 1px 3px 2px #515B42; box-shadow:1px 1px 3px 2px #515B42;">
Div content here</div>
Dieser Text ist in der Farbe #515B42 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #515B42 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #515B42.
Dieser Text ist weiß auf dem Hintergrund in Farbe #515B42.