HEX: #511E2A
RGB: (81,30,42)
#511E2A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #511E2A ist eine «websichere» Webfarbe #663333 (oder kurz #633).
Die Farbe #511E2A wird in RGB als (81,30,42) definiert.
RGB: (81,30,42) (32%,12%,16%)
R 81 von 255 = 32%
G 30 von 255 = 12%
B 42 von 255 = 16%
R + G + B ~ 20%. #511E2A dunkle Farbe.
R + G + B =
81 + 30 + 42 = 153 (100%)
R 81 von 153 ~ 52.94%
G 30 von 153 ~ 19.61%
B 42 von 153 ~ 27.45%
Die Farbe #511E2A wird in CMYK als (0,63,48,68) definiert.
CMYK: (0,63,48,68) C0M63Y48K68 (0%,63%,48%,68%) (0.00/0.63/0.48/0.68)
51 | 1E | 2A | |
---|---|---|---|
RGB | 81 | 30 | 42 |
HSL | 346° | 45.95% | 21.76% |
HSB/HSV | 346° | 62.96% | 31.76% |
CMYK | 0.00% | 62.96% | 48.15% |
68.24% |
Hexadezimal | 51 | 1E | 2A |
Dezimal | 81 | 30 | 42 |
Binär | 1010001 | 11110 | 101010 |
Oktal | 121 | 36 | 52 |
Beispiele css- und html für Elemente in der Farbe #511E2A. Bitte benutzen Sie auch rgb(81,30,42) statt hex-Code.
.myTextColor { color: #511E2A; }
<p style="color:#511E2A">This sample text font color is #511E2A.</p>
Die Farbe dieses Textes ist #511E2A.
.myBgColor { background-color: #511E2A; }
<div style="background-color:#511E2A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #511E2A.
.myBorderColor { border: 1px solid #511E2A; }
<div style="border:3px solid #511E2A">Div</div>
Die Grenzen von diesem div sind in Farbe #511E2A.
.myOpacity80 { color: #511E2A; opacity: 0.8; }
<p style="color:#511E2A;opacity:0.8;">80%</p>
Text in Farbe #511E2A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511E2A;}
<p style="text-shadow: 3px 3px 1px #511E2A">Text here.</p>
Dieser Text hat den Schatten in Farbe #511E2A.
.textShadow {text-shadow: 3px 3px 1px #511E2A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511E2A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #511E2A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511E2A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511E2A, Direction=45, Strength=4)">Text</p>
This text has shadow with #511E2A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511E2A; -webkit-box-shadow: 1px 1px 3px 2px #511E2A; box-shadow: 1px 1px 3px 2px #511E2A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511E2A; -webkit-box-shadow: 1px 1px 3px 2px #511E2A; box-shadow:1px 1px 3px 2px #511E2A;">
Div content here</div>
Dieser Text ist in der Farbe #511E2A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #511E2A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #511E2A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #511E2A.