HEX: #B51AA0
RGB: (181,26,160)
#B51AA0 enthält hauptsächlich rote und blaue Farbe. Für #B51AA0 ist eine «websichere» Webfarbe #CC0099 (oder kurz #C09).
Die Farbe #B51AA0 wird in RGB als (181,26,160) definiert.
RGB: (181,26,160) (71%,10%,63%)
R 181 von 255 = 71%
G 26 von 255 = 10%
B 160 von 255 = 63%
R + G + B ~ 48%. #B51AA0 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
181 + 26 + 160 = 367 (100%)
R 181 von 367 ~ 49.32%
G 26 von 367 ~ 7.08%
B 160 von 367 ~ 43.6%
Die Farbe #B51AA0 wird in CMYK als (0,86,12,29) definiert.
CMYK: (0,86,12,29) C0M86Y12K29 (0%,86%,12%,29%) (0.00/0.86/0.12/0.29)
B5 | 1A | A0 | |
---|---|---|---|
RGB | 181 | 26 | 160 |
HSL | 308° | 74.88% | 40.59% |
HSB/HSV | 308° | 85.64% | 70.98% |
CMYK | 0.00% | 85.64% | 11.60% |
29.02% |
Hexadezimal | B5 | 1A | A0 |
Dezimal | 181 | 26 | 160 |
Binär | 10110101 | 11010 | 10100000 |
Oktal | 265 | 32 | 240 |
Beispiele css- und html für Elemente in der Farbe #B51AA0. Bitte benutzen Sie auch rgb(181,26,160) statt hex-Code.
.myTextColor { color: #B51AA0; }
<p style="color:#B51AA0">This sample text font color is #B51AA0.</p>
Die Farbe dieses Textes ist #B51AA0.
.myBgColor { background-color: #B51AA0; }
<div style="background-color:#B51AA0">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B51AA0.
.myBorderColor { border: 1px solid #B51AA0; }
<div style="border:3px solid #B51AA0">Div</div>
Die Grenzen von diesem div sind in Farbe #B51AA0.
.myOpacity80 { color: #B51AA0; opacity: 0.8; }
<p style="color:#B51AA0;opacity:0.8;">80%</p>
Text in Farbe #B51AA0 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B51AA0;}
<p style="text-shadow: 3px 3px 1px #B51AA0">Text here.</p>
Dieser Text hat den Schatten in Farbe #B51AA0.
.textShadow {text-shadow: 3px 3px 1px #B51AA0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B51AA0, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B51AA0 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B51AA0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B51AA0, Direction=45, Strength=4)">Text</p>
This text has shadow with #B51AA0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B51AA0; -webkit-box-shadow: 1px 1px 3px 2px #B51AA0; box-shadow: 1px 1px 3px 2px #B51AA0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B51AA0; -webkit-box-shadow: 1px 1px 3px 2px #B51AA0; box-shadow:1px 1px 3px 2px #B51AA0;">
Div content here</div>
Dieser Text ist in der Farbe #B51AA0 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B51AA0 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B51AA0.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B51AA0.