HEX: #D4A1DB
RGB: (212,161,219)
#D4A1DB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #D4A1DB ist eine «websichere» Webfarbe #CC99CC (oder kurz #C9C).
Die Farbe #D4A1DB wird in RGB als (212,161,219) definiert.
RGB: (212,161,219) (83%,63%,86%)
R 212 von 255 = 83%
G 161 von 255 = 63%
B 219 von 255 = 86%
R + G + B ~ 77%. #D4A1DB ziemlich helle Farbe.
R + G + B =
212 + 161 + 219 = 592 (100%)
R 212 von 592 ~ 35.81%
G 161 von 592 ~ 27.2%
B 219 von 592 ~ 36.99%
Die Farbe #D4A1DB wird in CMYK als (3,26,0,14) definiert.
CMYK: (3,26,0,14) C3M26Y0K14 (3%,26%,0%,14%) (0.03/0.26/0.00/0.14)
D4 | A1 | DB | |
---|---|---|---|
RGB | 212 | 161 | 219 |
HSL | 293° | 44.62% | 74.51% |
HSB/HSV | 293° | 26.48% | 85.88% |
CMYK | 3.20% | 26.48% | 0.00% |
14.12% |
Hexadezimal | D4 | A1 | DB |
Dezimal | 212 | 161 | 219 |
Binär | 11010100 | 10100001 | 11011011 |
Oktal | 324 | 241 | 333 |
Beispiele css- und html für Elemente in der Farbe #D4A1DB. Bitte benutzen Sie auch rgb(212,161,219) statt hex-Code.
.myTextColor { color: #D4A1DB; }
<p style="color:#D4A1DB">This sample text font color is #D4A1DB.</p>
Die Farbe dieses Textes ist #D4A1DB.
.myBgColor { background-color: #D4A1DB; }
<div style="background-color:#D4A1DB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D4A1DB.
.myBorderColor { border: 1px solid #D4A1DB; }
<div style="border:3px solid #D4A1DB">Div</div>
Die Grenzen von diesem div sind in Farbe #D4A1DB.
.myOpacity80 { color: #D4A1DB; opacity: 0.8; }
<p style="color:#D4A1DB;opacity:0.8;">80%</p>
Text in Farbe #D4A1DB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4A1DB;}
<p style="text-shadow: 3px 3px 1px #D4A1DB">Text here.</p>
Dieser Text hat den Schatten in Farbe #D4A1DB.
.textShadow {text-shadow: 3px 3px 1px #D4A1DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4A1DB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D4A1DB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4A1DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4A1DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4A1DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4A1DB; -webkit-box-shadow: 1px 1px 3px 2px #D4A1DB; box-shadow: 1px 1px 3px 2px #D4A1DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4A1DB; -webkit-box-shadow: 1px 1px 3px 2px #D4A1DB; box-shadow:1px 1px 3px 2px #D4A1DB;">
Div content here</div>
Dieser Text ist in der Farbe #D4A1DB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D4A1DB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D4A1DB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D4A1DB.