HEX: #BA51DB
RGB: (186,81,219)
#BA51DB enthält hauptsächlich rote und blaue Farbe. Für #BA51DB ist eine «websichere» Webfarbe #CC66CC (oder kurz #C6C).
Die Farbe #BA51DB wird in RGB als (186,81,219) definiert.
RGB: (186,81,219) (73%,32%,86%)
R 186 von 255 = 73%
G 81 von 255 = 32%
B 219 von 255 = 86%
R + G + B ~ 64%. #BA51DB ziemlich helle Farbe.
R + G + B =
186 + 81 + 219 = 486 (100%)
R 186 von 486 ~ 38.27%
G 81 von 486 ~ 16.67%
B 219 von 486 ~ 45.06%
Die Farbe #BA51DB wird in CMYK als (15,63,0,14) definiert.
CMYK: (15,63,0,14) C15M63Y0K14 (15%,63%,0%,14%) (0.15/0.63/0.00/0.14)
BA | 51 | DB | |
---|---|---|---|
RGB | 186 | 81 | 219 |
HSL | 286° | 65.71% | 58.82% |
HSB/HSV | 286° | 63.01% | 85.88% |
CMYK | 15.07% | 63.01% | 0.00% |
14.12% |
Hexadezimal | BA | 51 | DB |
Dezimal | 186 | 81 | 219 |
Binär | 10111010 | 1010001 | 11011011 |
Oktal | 272 | 121 | 333 |
Beispiele css- und html für Elemente in der Farbe #BA51DB. Bitte benutzen Sie auch rgb(186,81,219) statt hex-Code.
.myTextColor { color: #BA51DB; }
<p style="color:#BA51DB">This sample text font color is #BA51DB.</p>
Die Farbe dieses Textes ist #BA51DB.
.myBgColor { background-color: #BA51DB; }
<div style="background-color:#BA51DB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #BA51DB.
.myBorderColor { border: 1px solid #BA51DB; }
<div style="border:3px solid #BA51DB">Div</div>
Die Grenzen von diesem div sind in Farbe #BA51DB.
.myOpacity80 { color: #BA51DB; opacity: 0.8; }
<p style="color:#BA51DB;opacity:0.8;">80%</p>
Text in Farbe #BA51DB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA51DB;}
<p style="text-shadow: 3px 3px 1px #BA51DB">Text here.</p>
Dieser Text hat den Schatten in Farbe #BA51DB.
.textShadow {text-shadow: 3px 3px 1px #BA51DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA51DB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #BA51DB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA51DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA51DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA51DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA51DB; -webkit-box-shadow: 1px 1px 3px 2px #BA51DB; box-shadow: 1px 1px 3px 2px #BA51DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA51DB; -webkit-box-shadow: 1px 1px 3px 2px #BA51DB; box-shadow:1px 1px 3px 2px #BA51DB;">
Div content here</div>
Dieser Text ist in der Farbe #BA51DB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #BA51DB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #BA51DB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #BA51DB.