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