HEX: #B51CD1
RGB: (181,28,209)
#B51CD1 enthält hauptsächlich rote und blaue Farbe. Für #B51CD1 ist eine «websichere» Webfarbe #CC33CC (oder kurz #C3C).
Die Farbe #B51CD1 wird in RGB als (181,28,209) definiert.
RGB: (181,28,209) (71%,11%,82%)
R 181 von 255 = 71%
G 28 von 255 = 11%
B 209 von 255 = 82%
R + G + B ~ 55%. #B51CD1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
181 + 28 + 209 = 418 (100%)
R 181 von 418 ~ 43.3%
G 28 von 418 ~ 6.7%
B 209 von 418 ~ 50%
Die Farbe #B51CD1 wird in CMYK als (13,87,0,18) definiert.
CMYK: (13,87,0,18) C13M87Y0K18 (13%,87%,0%,18%) (0.13/0.87/0.00/0.18)
B5 | 1C | D1 | |
---|---|---|---|
RGB | 181 | 28 | 209 |
HSL | 291° | 76.37% | 46.47% |
HSB/HSV | 291° | 86.60% | 81.96% |
CMYK | 13.40% | 86.60% | 0.00% |
18.04% |
Hexadezimal | B5 | 1C | D1 |
Dezimal | 181 | 28 | 209 |
Binär | 10110101 | 11100 | 11010001 |
Oktal | 265 | 34 | 321 |
Beispiele css- und html für Elemente in der Farbe #B51CD1. Bitte benutzen Sie auch rgb(181,28,209) statt hex-Code.
.myTextColor { color: #B51CD1; }
<p style="color:#B51CD1">This sample text font color is #B51CD1.</p>
Die Farbe dieses Textes ist #B51CD1.
.myBgColor { background-color: #B51CD1; }
<div style="background-color:#B51CD1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B51CD1.
.myBorderColor { border: 1px solid #B51CD1; }
<div style="border:3px solid #B51CD1">Div</div>
Die Grenzen von diesem div sind in Farbe #B51CD1.
.myOpacity80 { color: #B51CD1; opacity: 0.8; }
<p style="color:#B51CD1;opacity:0.8;">80%</p>
Text in Farbe #B51CD1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B51CD1;}
<p style="text-shadow: 3px 3px 1px #B51CD1">Text here.</p>
Dieser Text hat den Schatten in Farbe #B51CD1.
.textShadow {text-shadow: 3px 3px 1px #B51CD1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B51CD1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B51CD1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B51CD1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B51CD1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B51CD1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B51CD1; -webkit-box-shadow: 1px 1px 3px 2px #B51CD1; box-shadow: 1px 1px 3px 2px #B51CD1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B51CD1; -webkit-box-shadow: 1px 1px 3px 2px #B51CD1; box-shadow:1px 1px 3px 2px #B51CD1;">
Div content here</div>
Dieser Text ist in der Farbe #B51CD1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B51CD1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B51CD1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B51CD1.