HEX: #B51B8E
RGB: (181,27,142)
#B51B8E enthält hauptsächlich rote und blaue Farbe. Für #B51B8E ist eine «websichere» Webfarbe #CC3399 (oder kurz #C39).
Die Farbe #B51B8E wird in RGB als (181,27,142) definiert.
RGB: (181,27,142) (71%,11%,56%)
R 181 von 255 = 71%
G 27 von 255 = 11%
B 142 von 255 = 56%
R + G + B ~ 46%. #B51B8E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
181 + 27 + 142 = 350 (100%)
R 181 von 350 ~ 51.71%
G 27 von 350 ~ 7.71%
B 142 von 350 ~ 40.57%
Die Farbe #B51B8E wird in CMYK als (0,85,22,29) definiert.
CMYK: (0,85,22,29) C0M85Y22K29 (0%,85%,22%,29%) (0.00/0.85/0.22/0.29)
B5 | 1B | 8E | |
---|---|---|---|
RGB | 181 | 27 | 142 |
HSL | 315° | 74.04% | 40.78% |
HSB/HSV | 315° | 85.08% | 70.98% |
CMYK | 0.00% | 85.08% | 21.55% |
29.02% |
Hexadezimal | B5 | 1B | 8E |
Dezimal | 181 | 27 | 142 |
Binär | 10110101 | 11011 | 10001110 |
Oktal | 265 | 33 | 216 |
Beispiele css- und html für Elemente in der Farbe #B51B8E. Bitte benutzen Sie auch rgb(181,27,142) statt hex-Code.
.myTextColor { color: #B51B8E; }
<p style="color:#B51B8E">This sample text font color is #B51B8E.</p>
Die Farbe dieses Textes ist #B51B8E.
.myBgColor { background-color: #B51B8E; }
<div style="background-color:#B51B8E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B51B8E.
.myBorderColor { border: 1px solid #B51B8E; }
<div style="border:3px solid #B51B8E">Div</div>
Die Grenzen von diesem div sind in Farbe #B51B8E.
.myOpacity80 { color: #B51B8E; opacity: 0.8; }
<p style="color:#B51B8E;opacity:0.8;">80%</p>
Text in Farbe #B51B8E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B51B8E;}
<p style="text-shadow: 3px 3px 1px #B51B8E">Text here.</p>
Dieser Text hat den Schatten in Farbe #B51B8E.
.textShadow {text-shadow: 3px 3px 1px #B51B8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B51B8E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B51B8E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B51B8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B51B8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B51B8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B51B8E; -webkit-box-shadow: 1px 1px 3px 2px #B51B8E; box-shadow: 1px 1px 3px 2px #B51B8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B51B8E; -webkit-box-shadow: 1px 1px 3px 2px #B51B8E; box-shadow:1px 1px 3px 2px #B51B8E;">
Div content here</div>
Dieser Text ist in der Farbe #B51B8E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B51B8E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B51B8E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B51B8E.