HEX: #C742E0
RGB: (199,66,224)
#C742E0 enthält hauptsächlich rote und blaue Farbe. Für #C742E0 ist eine «websichere» Webfarbe #CC33CC (oder kurz #C3C).
Die Farbe #C742E0 wird in RGB als (199,66,224) definiert.
RGB: (199,66,224) (78%,26%,88%)
R 199 von 255 = 78%
G 66 von 255 = 26%
B 224 von 255 = 88%
R + G + B ~ 64%. #C742E0 ziemlich helle Farbe.
R + G + B =
199 + 66 + 224 = 489 (100%)
R 199 von 489 ~ 40.7%
G 66 von 489 ~ 13.5%
B 224 von 489 ~ 45.81%
Die Farbe #C742E0 wird in CMYK als (11,71,0,12) definiert.
CMYK: (11,71,0,12) C11M71Y0K12 (11%,71%,0%,12%) (0.11/0.71/0.00/0.12)
C7 | 42 | E0 | |
---|---|---|---|
RGB | 199 | 66 | 224 |
HSL | 291° | 71.82% | 56.86% |
HSB/HSV | 291° | 70.54% | 87.84% |
CMYK | 11.16% | 70.54% | 0.00% |
12.16% |
Hexadezimal | C7 | 42 | E0 |
Dezimal | 199 | 66 | 224 |
Binär | 11000111 | 1000010 | 11100000 |
Oktal | 307 | 102 | 340 |
Beispiele css- und html für Elemente in der Farbe #C742E0. Bitte benutzen Sie auch rgb(199,66,224) statt hex-Code.
.myTextColor { color: #C742E0; }
<p style="color:#C742E0">This sample text font color is #C742E0.</p>
Die Farbe dieses Textes ist #C742E0.
.myBgColor { background-color: #C742E0; }
<div style="background-color:#C742E0">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C742E0.
.myBorderColor { border: 1px solid #C742E0; }
<div style="border:3px solid #C742E0">Div</div>
Die Grenzen von diesem div sind in Farbe #C742E0.
.myOpacity80 { color: #C742E0; opacity: 0.8; }
<p style="color:#C742E0;opacity:0.8;">80%</p>
Text in Farbe #C742E0 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C742E0;}
<p style="text-shadow: 3px 3px 1px #C742E0">Text here.</p>
Dieser Text hat den Schatten in Farbe #C742E0.
.textShadow {text-shadow: 3px 3px 1px #C742E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C742E0, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C742E0 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C742E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C742E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #C742E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C742E0; -webkit-box-shadow: 1px 1px 3px 2px #C742E0; box-shadow: 1px 1px 3px 2px #C742E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C742E0; -webkit-box-shadow: 1px 1px 3px 2px #C742E0; box-shadow:1px 1px 3px 2px #C742E0;">
Div content here</div>
Dieser Text ist in der Farbe #C742E0 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C742E0 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C742E0.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C742E0.