HEX: #CC00CC
RGB: (204,0,204)
#CC00CC enthält nur rote und blaue Farbe. Die Farbe #CC00CC ist «eine websichere» Webfarbe. Sie kann kurz als #C0C geschrieben werden.
Die Farbe #CC00CC wird in RGB als (204,0,204) definiert.
RGB: (204,0,204) (80%,0%,80%)
R 204 von 255 = 80%
G 0 von 255 = 0%
B 204 von 255 = 80%
R + G + B ~ 53%. #CC00CC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
204 + 0 + 204 = 408 (100%)
R 204 von 408 ~ 50%
G 0 von 408 ~ 0%
B 204 von 408 ~ 50%
Die Farbe #CC00CC wird in CMYK als (0,100,0,20) definiert.
CMYK: (0,100,0,20) C0M100Y0K20 (0%,100%,0%,20%) (0.00/1.00/0.00/0.20)
CC | 00 | CC | |
---|---|---|---|
RGB | 204 | 0 | 204 |
HSL | 300° | 100.00% | 40.00% |
HSB/HSV | 300° | 100.00% | 80.00% |
CMYK | 0.00% | 100.00% | 0.00% |
20.00% |
Hexadezimal | CC | 00 | CC |
Dezimal | 204 | 0 | 204 |
Binär | 11001100 | 0 | 11001100 |
Oktal | 314 | 0 | 314 |
Beispiele css- und html für Elemente in der Farbe #CC00CC. Bitte benutzen Sie auch rgb(204,0,204) statt hex-Code.
.myTextColor { color: #CC00CC; }
<p style="color:#CC00CC">This sample text font color is #CC00CC.</p>
Die Farbe dieses Textes ist #CC00CC.
.myBgColor { background-color: #CC00CC; }
<div style="background-color:#CC00CC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #CC00CC.
.myBorderColor { border: 1px solid #CC00CC; }
<div style="border:3px solid #CC00CC">Div</div>
Die Grenzen von diesem div sind in Farbe #CC00CC.
.myOpacity80 { color: #CC00CC; opacity: 0.8; }
<p style="color:#CC00CC;opacity:0.8;">80%</p>
Text in Farbe #CC00CC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC00CC;}
<p style="text-shadow: 3px 3px 1px #CC00CC">Text here.</p>
Dieser Text hat den Schatten in Farbe #CC00CC.
.textShadow {text-shadow: 3px 3px 1px #CC00CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC00CC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #CC00CC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC00CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC00CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC00CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC00CC; -webkit-box-shadow: 1px 1px 3px 2px #CC00CC; box-shadow: 1px 1px 3px 2px #CC00CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC00CC; -webkit-box-shadow: 1px 1px 3px 2px #CC00CC; box-shadow:1px 1px 3px 2px #CC00CC;">
Div content here</div>
Dieser Text ist in der Farbe #CC00CC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #CC00CC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #CC00CC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #CC00CC.