HEX: #D8B4DC
RGB: (216,180,220)
#D8B4DC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #D8B4DC ist eine «websichere» Webfarbe #CCCCCC (oder kurz #CCC).
Die Farbe #D8B4DC wird in RGB als (216,180,220) definiert.
RGB: (216,180,220) (85%,71%,86%)
R 216 von 255 = 85%
G 180 von 255 = 71%
B 220 von 255 = 86%
R + G + B ~ 81%. #D8B4DC ziemlich helle Farbe.
R + G + B =
216 + 180 + 220 = 616 (100%)
R 216 von 616 ~ 35.06%
G 180 von 616 ~ 29.22%
B 220 von 616 ~ 35.71%
Die Farbe #D8B4DC wird in CMYK als (2,18,0,14) definiert.
CMYK: (2,18,0,14) C2M18Y0K14 (2%,18%,0%,14%) (0.02/0.18/0.00/0.14)
D8 | B4 | DC | |
---|---|---|---|
RGB | 216 | 180 | 220 |
HSL | 294° | 36.36% | 78.43% |
HSB/HSV | 294° | 18.18% | 86.27% |
CMYK | 1.82% | 18.18% | 0.00% |
13.73% |
Hexadezimal | D8 | B4 | DC |
Dezimal | 216 | 180 | 220 |
Binär | 11011000 | 10110100 | 11011100 |
Oktal | 330 | 264 | 334 |
Beispiele css- und html für Elemente in der Farbe #D8B4DC. Bitte benutzen Sie auch rgb(216,180,220) statt hex-Code.
.myTextColor { color: #D8B4DC; }
<p style="color:#D8B4DC">This sample text font color is #D8B4DC.</p>
Die Farbe dieses Textes ist #D8B4DC.
.myBgColor { background-color: #D8B4DC; }
<div style="background-color:#D8B4DC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D8B4DC.
.myBorderColor { border: 1px solid #D8B4DC; }
<div style="border:3px solid #D8B4DC">Div</div>
Die Grenzen von diesem div sind in Farbe #D8B4DC.
.myOpacity80 { color: #D8B4DC; opacity: 0.8; }
<p style="color:#D8B4DC;opacity:0.8;">80%</p>
Text in Farbe #D8B4DC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8B4DC;}
<p style="text-shadow: 3px 3px 1px #D8B4DC">Text here.</p>
Dieser Text hat den Schatten in Farbe #D8B4DC.
.textShadow {text-shadow: 3px 3px 1px #D8B4DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8B4DC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D8B4DC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8B4DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8B4DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8B4DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8B4DC; -webkit-box-shadow: 1px 1px 3px 2px #D8B4DC; box-shadow: 1px 1px 3px 2px #D8B4DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8B4DC; -webkit-box-shadow: 1px 1px 3px 2px #D8B4DC; box-shadow:1px 1px 3px 2px #D8B4DC;">
Div content here</div>
Dieser Text ist in der Farbe #D8B4DC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D8B4DC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D8B4DC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D8B4DC.