HEX: #B40BC4
RGB: (180,11,196)
#B40BC4 enthält hauptsächlich rote und blaue Farbe. Für #B40BC4 ist eine «websichere» Webfarbe #CC00CC (oder kurz #C0C).
Die Farbe #B40BC4 wird in RGB als (180,11,196) definiert.
RGB: (180,11,196) (71%,4%,77%)
R 180 von 255 = 71%
G 11 von 255 = 4%
B 196 von 255 = 77%
R + G + B ~ 51%. #B40BC4 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
180 + 11 + 196 = 387 (100%)
R 180 von 387 ~ 46.51%
G 11 von 387 ~ 2.84%
B 196 von 387 ~ 50.65%
Die Farbe #B40BC4 wird in CMYK als (8,94,0,23) definiert.
CMYK: (8,94,0,23) C8M94Y0K23 (8%,94%,0%,23%) (0.08/0.94/0.00/0.23)
B4 | 0B | C4 | |
---|---|---|---|
RGB | 180 | 11 | 196 |
HSL | 295° | 89.37% | 40.59% |
HSB/HSV | 295° | 94.39% | 76.86% |
CMYK | 8.16% | 94.39% | 0.00% |
23.14% |
Hexadezimal | B4 | 0B | C4 |
Dezimal | 180 | 11 | 196 |
Binär | 10110100 | 1011 | 11000100 |
Oktal | 264 | 13 | 304 |
Beispiele css- und html für Elemente in der Farbe #B40BC4. Bitte benutzen Sie auch rgb(180,11,196) statt hex-Code.
.myTextColor { color: #B40BC4; }
<p style="color:#B40BC4">This sample text font color is #B40BC4.</p>
Die Farbe dieses Textes ist #B40BC4.
.myBgColor { background-color: #B40BC4; }
<div style="background-color:#B40BC4">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B40BC4.
.myBorderColor { border: 1px solid #B40BC4; }
<div style="border:3px solid #B40BC4">Div</div>
Die Grenzen von diesem div sind in Farbe #B40BC4.
.myOpacity80 { color: #B40BC4; opacity: 0.8; }
<p style="color:#B40BC4;opacity:0.8;">80%</p>
Text in Farbe #B40BC4 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B40BC4;}
<p style="text-shadow: 3px 3px 1px #B40BC4">Text here.</p>
Dieser Text hat den Schatten in Farbe #B40BC4.
.textShadow {text-shadow: 3px 3px 1px #B40BC4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B40BC4, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B40BC4 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B40BC4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B40BC4, Direction=45, Strength=4)">Text</p>
This text has shadow with #B40BC4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B40BC4; -webkit-box-shadow: 1px 1px 3px 2px #B40BC4; box-shadow: 1px 1px 3px 2px #B40BC4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B40BC4; -webkit-box-shadow: 1px 1px 3px 2px #B40BC4; box-shadow:1px 1px 3px 2px #B40BC4;">
Div content here</div>
Dieser Text ist in der Farbe #B40BC4 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B40BC4 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B40BC4.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B40BC4.