HEX: #DCF0DC
RGB: (220,240,220)
#DCF0DC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #DCF0DC ist eine «websichere» Webfarbe #CCFFCC (oder kurz #CFC).
Die Farbe #DCF0DC wird in RGB als (220,240,220) definiert.
RGB: (220,240,220) (86%,94%,86%)
R 220 von 255 = 86%
G 240 von 255 = 94%
B 220 von 255 = 86%
R + G + B ~ 89%. #DCF0DC helle Farbe.
R + G + B =
220 + 240 + 220 = 680 (100%)
R 220 von 680 ~ 32.35%
G 240 von 680 ~ 35.29%
B 220 von 680 ~ 32.35%
Die Farbe #DCF0DC wird in CMYK als (8,0,8,6) definiert.
CMYK: (8,0,8,6) C8M0Y8K6 (8%,0%,8%,6%) (0.08/0.00/0.08/0.06)
DC | F0 | DC | |
---|---|---|---|
RGB | 220 | 240 | 220 |
HSL | 120° | 40.00% | 90.20% |
HSB/HSV | 120° | 8.33% | 94.12% |
CMYK | 8.33% | 0.00% | 8.33% |
5.88% |
Hexadezimal | DC | F0 | DC |
Dezimal | 220 | 240 | 220 |
Binär | 11011100 | 11110000 | 11011100 |
Oktal | 334 | 360 | 334 |
Beispiele css- und html für Elemente in der Farbe #DCF0DC. Bitte benutzen Sie auch rgb(220,240,220) statt hex-Code.
.myTextColor { color: #DCF0DC; }
<p style="color:#DCF0DC">This sample text font color is #DCF0DC.</p>
Die Farbe dieses Textes ist #DCF0DC.
.myBgColor { background-color: #DCF0DC; }
<div style="background-color:#DCF0DC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #DCF0DC.
.myBorderColor { border: 1px solid #DCF0DC; }
<div style="border:3px solid #DCF0DC">Div</div>
Die Grenzen von diesem div sind in Farbe #DCF0DC.
.myOpacity80 { color: #DCF0DC; opacity: 0.8; }
<p style="color:#DCF0DC;opacity:0.8;">80%</p>
Text in Farbe #DCF0DC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCF0DC;}
<p style="text-shadow: 3px 3px 1px #DCF0DC">Text here.</p>
Dieser Text hat den Schatten in Farbe #DCF0DC.
.textShadow {text-shadow: 3px 3px 1px #DCF0DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCF0DC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #DCF0DC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCF0DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCF0DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCF0DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCF0DC; -webkit-box-shadow: 1px 1px 3px 2px #DCF0DC; box-shadow: 1px 1px 3px 2px #DCF0DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCF0DC; -webkit-box-shadow: 1px 1px 3px 2px #DCF0DC; box-shadow:1px 1px 3px 2px #DCF0DC;">
Div content here</div>
Dieser Text ist in der Farbe #DCF0DC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #DCF0DC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #DCF0DC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #DCF0DC.