HEX: #B40C26
RGB: (180,12,38)
#B40C26 enthält hauptsächlich rote Farbe. Für #B40C26 ist eine «websichere» Webfarbe #CC0033 (oder kurz #C03).
Die Farbe #B40C26 wird in RGB als (180,12,38) definiert.
RGB: (180,12,38) (71%,5%,15%)
R 180 von 255 = 71%
G 12 von 255 = 5%
B 38 von 255 = 15%
R + G + B ~ 30%. #B40C26 ziemlich dunkle Farbe.
R + G + B =
180 + 12 + 38 = 230 (100%)
R 180 von 230 ~ 78.26%
G 12 von 230 ~ 5.22%
B 38 von 230 ~ 16.52%
Die Farbe #B40C26 wird in CMYK als (0,93,79,29) definiert.
CMYK: (0,93,79,29) C0M93Y79K29 (0%,93%,79%,29%) (0.00/0.93/0.79/0.29)
B4 | 0C | 26 | |
---|---|---|---|
RGB | 180 | 12 | 38 |
HSL | 351° | 87.50% | 37.65% |
HSB/HSV | 351° | 93.33% | 70.59% |
CMYK | 0.00% | 93.33% | 78.89% |
29.41% |
Hexadezimal | B4 | 0C | 26 |
Dezimal | 180 | 12 | 38 |
Binär | 10110100 | 1100 | 100110 |
Oktal | 264 | 14 | 46 |
Beispiele css- und html für Elemente in der Farbe #B40C26. Bitte benutzen Sie auch rgb(180,12,38) statt hex-Code.
.myTextColor { color: #B40C26; }
<p style="color:#B40C26">This sample text font color is #B40C26.</p>
Die Farbe dieses Textes ist #B40C26.
.myBgColor { background-color: #B40C26; }
<div style="background-color:#B40C26">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B40C26.
.myBorderColor { border: 1px solid #B40C26; }
<div style="border:3px solid #B40C26">Div</div>
Die Grenzen von diesem div sind in Farbe #B40C26.
.myOpacity80 { color: #B40C26; opacity: 0.8; }
<p style="color:#B40C26;opacity:0.8;">80%</p>
Text in Farbe #B40C26 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B40C26;}
<p style="text-shadow: 3px 3px 1px #B40C26">Text here.</p>
Dieser Text hat den Schatten in Farbe #B40C26.
.textShadow {text-shadow: 3px 3px 1px #B40C26, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B40C26, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B40C26 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B40C26, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B40C26, Direction=45, Strength=4)">Text</p>
This text has shadow with #B40C26 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B40C26; -webkit-box-shadow: 1px 1px 3px 2px #B40C26; box-shadow: 1px 1px 3px 2px #B40C26; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B40C26; -webkit-box-shadow: 1px 1px 3px 2px #B40C26; box-shadow:1px 1px 3px 2px #B40C26;">
Div content here</div>
Dieser Text ist in der Farbe #B40C26 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B40C26 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B40C26.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B40C26.