HEX: #C51898
RGB: (197,24,152)
#C51898 enthält hauptsächlich rote und blaue Farbe. Für #C51898 ist eine «websichere» Webfarbe #CC0099 (oder kurz #C09).
Die Farbe #C51898 wird in RGB als (197,24,152) definiert.
RGB: (197,24,152) (77%,9%,60%)
R 197 von 255 = 77%
G 24 von 255 = 9%
B 152 von 255 = 60%
R + G + B ~ 49%. #C51898 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
197 + 24 + 152 = 373 (100%)
R 197 von 373 ~ 52.82%
G 24 von 373 ~ 6.43%
B 152 von 373 ~ 40.75%
Die Farbe #C51898 wird in CMYK als (0,88,23,23) definiert.
CMYK: (0,88,23,23) C0M88Y23K23 (0%,88%,23%,23%) (0.00/0.88/0.23/0.23)
C5 | 18 | 98 | |
---|---|---|---|
RGB | 197 | 24 | 152 |
HSL | 316° | 78.28% | 43.33% |
HSB/HSV | 316° | 87.82% | 77.25% |
CMYK | 0.00% | 87.82% | 22.84% |
22.75% |
Hexadezimal | C5 | 18 | 98 |
Dezimal | 197 | 24 | 152 |
Binär | 11000101 | 11000 | 10011000 |
Oktal | 305 | 30 | 230 |
Beispiele css- und html für Elemente in der Farbe #C51898. Bitte benutzen Sie auch rgb(197,24,152) statt hex-Code.
.myTextColor { color: #C51898; }
<p style="color:#C51898">This sample text font color is #C51898.</p>
Die Farbe dieses Textes ist #C51898.
.myBgColor { background-color: #C51898; }
<div style="background-color:#C51898">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C51898.
.myBorderColor { border: 1px solid #C51898; }
<div style="border:3px solid #C51898">Div</div>
Die Grenzen von diesem div sind in Farbe #C51898.
.myOpacity80 { color: #C51898; opacity: 0.8; }
<p style="color:#C51898;opacity:0.8;">80%</p>
Text in Farbe #C51898 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C51898;}
<p style="text-shadow: 3px 3px 1px #C51898">Text here.</p>
Dieser Text hat den Schatten in Farbe #C51898.
.textShadow {text-shadow: 3px 3px 1px #C51898, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C51898, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C51898 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C51898, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C51898, Direction=45, Strength=4)">Text</p>
This text has shadow with #C51898 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C51898; -webkit-box-shadow: 1px 1px 3px 2px #C51898; box-shadow: 1px 1px 3px 2px #C51898; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C51898; -webkit-box-shadow: 1px 1px 3px 2px #C51898; box-shadow:1px 1px 3px 2px #C51898;">
Div content here</div>
Dieser Text ist in der Farbe #C51898 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C51898 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C51898.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C51898.