HEX: #C531A5
RGB: (197,49,165)
#C531A5 enthält hauptsächlich rote und blaue Farbe. Für #C531A5 ist eine «websichere» Webfarbe #CC3399 (oder kurz #C39).
Die Farbe #C531A5 wird in RGB als (197,49,165) definiert.
RGB: (197,49,165) (77%,19%,65%)
R 197 von 255 = 77%
G 49 von 255 = 19%
B 165 von 255 = 65%
R + G + B ~ 54%. #C531A5 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
197 + 49 + 165 = 411 (100%)
R 197 von 411 ~ 47.93%
G 49 von 411 ~ 11.92%
B 165 von 411 ~ 40.15%
Die Farbe #C531A5 wird in CMYK als (0,75,16,23) definiert.
CMYK: (0,75,16,23) C0M75Y16K23 (0%,75%,16%,23%) (0.00/0.75/0.16/0.23)
C5 | 31 | A5 | |
---|---|---|---|
RGB | 197 | 49 | 165 |
HSL | 313° | 60.16% | 48.24% |
HSB/HSV | 313° | 75.13% | 77.25% |
CMYK | 0.00% | 75.13% | 16.24% |
22.75% |
Hexadezimal | C5 | 31 | A5 |
Dezimal | 197 | 49 | 165 |
Binär | 11000101 | 110001 | 10100101 |
Oktal | 305 | 61 | 245 |
Beispiele css- und html für Elemente in der Farbe #C531A5. Bitte benutzen Sie auch rgb(197,49,165) statt hex-Code.
.myTextColor { color: #C531A5; }
<p style="color:#C531A5">This sample text font color is #C531A5.</p>
Die Farbe dieses Textes ist #C531A5.
.myBgColor { background-color: #C531A5; }
<div style="background-color:#C531A5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C531A5.
.myBorderColor { border: 1px solid #C531A5; }
<div style="border:3px solid #C531A5">Div</div>
Die Grenzen von diesem div sind in Farbe #C531A5.
.myOpacity80 { color: #C531A5; opacity: 0.8; }
<p style="color:#C531A5;opacity:0.8;">80%</p>
Text in Farbe #C531A5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C531A5;}
<p style="text-shadow: 3px 3px 1px #C531A5">Text here.</p>
Dieser Text hat den Schatten in Farbe #C531A5.
.textShadow {text-shadow: 3px 3px 1px #C531A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C531A5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C531A5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C531A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C531A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #C531A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C531A5; -webkit-box-shadow: 1px 1px 3px 2px #C531A5; box-shadow: 1px 1px 3px 2px #C531A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C531A5; -webkit-box-shadow: 1px 1px 3px 2px #C531A5; box-shadow:1px 1px 3px 2px #C531A5;">
Div content here</div>
Dieser Text ist in der Farbe #C531A5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C531A5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C531A5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C531A5.