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