HEX: #C42AD2
RGB: (196,42,210)
#C42AD2 enthält hauptsächlich rote und blaue Farbe. Für #C42AD2 ist eine «websichere» Webfarbe #CC33CC (oder kurz #C3C).
Die Farbe #C42AD2 wird in RGB als (196,42,210) definiert.
RGB: (196,42,210) (77%,16%,82%)
R 196 von 255 = 77%
G 42 von 255 = 16%
B 210 von 255 = 82%
R + G + B ~ 58%. #C42AD2 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
196 + 42 + 210 = 448 (100%)
R 196 von 448 ~ 43.75%
G 42 von 448 ~ 9.38%
B 210 von 448 ~ 46.88%
Die Farbe #C42AD2 wird in CMYK als (7,80,0,18) definiert.
CMYK: (7,80,0,18) C7M80Y0K18 (7%,80%,0%,18%) (0.07/0.80/0.00/0.18)
C4 | 2A | D2 | |
---|---|---|---|
RGB | 196 | 42 | 210 |
HSL | 295° | 66.67% | 49.41% |
HSB/HSV | 295° | 80.00% | 82.35% |
CMYK | 6.67% | 80.00% | 0.00% |
17.65% |
Hexadezimal | C4 | 2A | D2 |
Dezimal | 196 | 42 | 210 |
Binär | 11000100 | 101010 | 11010010 |
Oktal | 304 | 52 | 322 |
Beispiele css- und html für Elemente in der Farbe #C42AD2. Bitte benutzen Sie auch rgb(196,42,210) statt hex-Code.
.myTextColor { color: #C42AD2; }
<p style="color:#C42AD2">This sample text font color is #C42AD2.</p>
Die Farbe dieses Textes ist #C42AD2.
.myBgColor { background-color: #C42AD2; }
<div style="background-color:#C42AD2">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C42AD2.
.myBorderColor { border: 1px solid #C42AD2; }
<div style="border:3px solid #C42AD2">Div</div>
Die Grenzen von diesem div sind in Farbe #C42AD2.
.myOpacity80 { color: #C42AD2; opacity: 0.8; }
<p style="color:#C42AD2;opacity:0.8;">80%</p>
Text in Farbe #C42AD2 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C42AD2;}
<p style="text-shadow: 3px 3px 1px #C42AD2">Text here.</p>
Dieser Text hat den Schatten in Farbe #C42AD2.
.textShadow {text-shadow: 3px 3px 1px #C42AD2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C42AD2, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C42AD2 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C42AD2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C42AD2, Direction=45, Strength=4)">Text</p>
This text has shadow with #C42AD2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C42AD2; -webkit-box-shadow: 1px 1px 3px 2px #C42AD2; box-shadow: 1px 1px 3px 2px #C42AD2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C42AD2; -webkit-box-shadow: 1px 1px 3px 2px #C42AD2; box-shadow:1px 1px 3px 2px #C42AD2;">
Div content here</div>
Dieser Text ist in der Farbe #C42AD2 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C42AD2 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C42AD2.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C42AD2.