HEX: #8A25D2
RGB: (138,37,210)
#8A25D2 enthält hauptsächlich blaue Farbe. Für #8A25D2 ist eine «websichere» Webfarbe #9933CC (oder kurz #93C).
Die Farbe #8A25D2 wird in RGB als (138,37,210) definiert.
RGB: (138,37,210) (54%,15%,82%)
R 138 von 255 = 54%
G 37 von 255 = 15%
B 210 von 255 = 82%
R + G + B ~ 50%. #8A25D2 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 37 + 210 = 385 (100%)
R 138 von 385 ~ 35.84%
G 37 von 385 ~ 9.61%
B 210 von 385 ~ 54.55%
Die Farbe #8A25D2 wird in CMYK als (34,82,0,18) definiert.
CMYK: (34,82,0,18) C34M82Y0K18 (34%,82%,0%,18%) (0.34/0.82/0.00/0.18)
8A | 25 | D2 | |
---|---|---|---|
RGB | 138 | 37 | 210 |
HSL | 275° | 70.04% | 48.43% |
HSB/HSV | 275° | 82.38% | 82.35% |
CMYK | 34.29% | 82.38% | 0.00% |
17.65% |
Hexadezimal | 8A | 25 | D2 |
Dezimal | 138 | 37 | 210 |
Binär | 10001010 | 100101 | 11010010 |
Oktal | 212 | 45 | 322 |
Beispiele css- und html für Elemente in der Farbe #8A25D2. Bitte benutzen Sie auch rgb(138,37,210) statt hex-Code.
.myTextColor { color: #8A25D2; }
<p style="color:#8A25D2">This sample text font color is #8A25D2.</p>
Die Farbe dieses Textes ist #8A25D2.
.myBgColor { background-color: #8A25D2; }
<div style="background-color:#8A25D2">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A25D2.
.myBorderColor { border: 1px solid #8A25D2; }
<div style="border:3px solid #8A25D2">Div</div>
Die Grenzen von diesem div sind in Farbe #8A25D2.
.myOpacity80 { color: #8A25D2; opacity: 0.8; }
<p style="color:#8A25D2;opacity:0.8;">80%</p>
Text in Farbe #8A25D2 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A25D2;}
<p style="text-shadow: 3px 3px 1px #8A25D2">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A25D2.
.textShadow {text-shadow: 3px 3px 1px #8A25D2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A25D2, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A25D2 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A25D2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A25D2, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A25D2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A25D2; -webkit-box-shadow: 1px 1px 3px 2px #8A25D2; box-shadow: 1px 1px 3px 2px #8A25D2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A25D2; -webkit-box-shadow: 1px 1px 3px 2px #8A25D2; box-shadow:1px 1px 3px 2px #8A25D2;">
Div content here</div>
Dieser Text ist in der Farbe #8A25D2 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A25D2 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A25D2.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A25D2.