HEX: #CCA66B
RGB: (204,166,107)
#CCA66B enthält hauptsächlich rote und grüne Farbe. Für #CCA66B ist eine «websichere» Webfarbe #CC9966 (oder kurz #C96).
Die Farbe #CCA66B wird in RGB als (204,166,107) definiert.
RGB: (204,166,107) (80%,65%,42%)
R 204 von 255 = 80%
G 166 von 255 = 65%
B 107 von 255 = 42%
R + G + B ~ 62%. #CCA66B ziemlich helle Farbe.
R + G + B =
204 + 166 + 107 = 477 (100%)
R 204 von 477 ~ 42.77%
G 166 von 477 ~ 34.8%
B 107 von 477 ~ 22.43%
Die Farbe #CCA66B wird in CMYK als (0,19,48,20) definiert.
CMYK: (0,19,48,20) C0M19Y48K20 (0%,19%,48%,20%) (0.00/0.19/0.48/0.20)
CC | A6 | 6B | |
---|---|---|---|
RGB | 204 | 166 | 107 |
HSL | 36° | 48.74% | 60.98% |
HSB/HSV | 36° | 47.55% | 80.00% |
CMYK | 0.00% | 18.63% | 47.55% |
20.00% |
Hexadezimal | CC | A6 | 6B |
Dezimal | 204 | 166 | 107 |
Binär | 11001100 | 10100110 | 1101011 |
Oktal | 314 | 246 | 153 |
Beispiele css- und html für Elemente in der Farbe #CCA66B. Bitte benutzen Sie auch rgb(204,166,107) statt hex-Code.
.myTextColor { color: #CCA66B; }
<p style="color:#CCA66B">This sample text font color is #CCA66B.</p>
Die Farbe dieses Textes ist #CCA66B.
.myBgColor { background-color: #CCA66B; }
<div style="background-color:#CCA66B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #CCA66B.
.myBorderColor { border: 1px solid #CCA66B; }
<div style="border:3px solid #CCA66B">Div</div>
Die Grenzen von diesem div sind in Farbe #CCA66B.
.myOpacity80 { color: #CCA66B; opacity: 0.8; }
<p style="color:#CCA66B;opacity:0.8;">80%</p>
Text in Farbe #CCA66B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA66B;}
<p style="text-shadow: 3px 3px 1px #CCA66B">Text here.</p>
Dieser Text hat den Schatten in Farbe #CCA66B.
.textShadow {text-shadow: 3px 3px 1px #CCA66B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA66B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #CCA66B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA66B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA66B, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA66B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA66B; -webkit-box-shadow: 1px 1px 3px 2px #CCA66B; box-shadow: 1px 1px 3px 2px #CCA66B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA66B; -webkit-box-shadow: 1px 1px 3px 2px #CCA66B; box-shadow:1px 1px 3px 2px #CCA66B;">
Div content here</div>
Dieser Text ist in der Farbe #CCA66B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #CCA66B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #CCA66B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #CCA66B.