HEX: #C51A2C
RGB: (197,26,44)
#C51A2C enthält hauptsächlich rote Farbe. Für #C51A2C ist eine «websichere» Webfarbe #CC0033 (oder kurz #C03).
Die Farbe #C51A2C wird in RGB als (197,26,44) definiert.
RGB: (197,26,44) (77%,10%,17%)
R 197 von 255 = 77%
G 26 von 255 = 10%
B 44 von 255 = 17%
R + G + B ~ 35%. #C51A2C ziemlich dunkle Farbe.
R + G + B =
197 + 26 + 44 = 267 (100%)
R 197 von 267 ~ 73.78%
G 26 von 267 ~ 9.74%
B 44 von 267 ~ 16.48%
Die Farbe #C51A2C wird in CMYK als (0,87,78,23) definiert.
CMYK: (0,87,78,23) C0M87Y78K23 (0%,87%,78%,23%) (0.00/0.87/0.78/0.23)
C5 | 1A | 2C | |
---|---|---|---|
RGB | 197 | 26 | 44 |
HSL | 354° | 76.68% | 43.73% |
HSB/HSV | 354° | 86.80% | 77.25% |
CMYK | 0.00% | 86.80% | 77.66% |
22.75% |
Hexadezimal | C5 | 1A | 2C |
Dezimal | 197 | 26 | 44 |
Binär | 11000101 | 11010 | 101100 |
Oktal | 305 | 32 | 54 |
Beispiele css- und html für Elemente in der Farbe #C51A2C. Bitte benutzen Sie auch rgb(197,26,44) statt hex-Code.
.myTextColor { color: #C51A2C; }
<p style="color:#C51A2C">This sample text font color is #C51A2C.</p>
Die Farbe dieses Textes ist #C51A2C.
.myBgColor { background-color: #C51A2C; }
<div style="background-color:#C51A2C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C51A2C.
.myBorderColor { border: 1px solid #C51A2C; }
<div style="border:3px solid #C51A2C">Div</div>
Die Grenzen von diesem div sind in Farbe #C51A2C.
.myOpacity80 { color: #C51A2C; opacity: 0.8; }
<p style="color:#C51A2C;opacity:0.8;">80%</p>
Text in Farbe #C51A2C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C51A2C;}
<p style="text-shadow: 3px 3px 1px #C51A2C">Text here.</p>
Dieser Text hat den Schatten in Farbe #C51A2C.
.textShadow {text-shadow: 3px 3px 1px #C51A2C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C51A2C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C51A2C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C51A2C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C51A2C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C51A2C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C51A2C; -webkit-box-shadow: 1px 1px 3px 2px #C51A2C; box-shadow: 1px 1px 3px 2px #C51A2C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C51A2C; -webkit-box-shadow: 1px 1px 3px 2px #C51A2C; box-shadow:1px 1px 3px 2px #C51A2C;">
Div content here</div>
Dieser Text ist in der Farbe #C51A2C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C51A2C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C51A2C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C51A2C.