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