HEX: #7878AC
RGB: (120,120,172)
#7878AC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7878AC ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7878AC wird in RGB als (120,120,172) definiert.
RGB: (120,120,172) (47%,47%,67%)
R 120 von 255 = 47%
G 120 von 255 = 47%
B 172 von 255 = 67%
R + G + B ~ 54%. #7878AC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
120 + 120 + 172 = 412 (100%)
R 120 von 412 ~ 29.13%
G 120 von 412 ~ 29.13%
B 172 von 412 ~ 41.75%
Die Farbe #7878AC wird in CMYK als (30,30,0,33) definiert.
CMYK: (30,30,0,33) C30M30Y0K33 (30%,30%,0%,33%) (0.30/0.30/0.00/0.33)
78 | 78 | AC | |
---|---|---|---|
RGB | 120 | 120 | 172 |
HSL | 240° | 23.85% | 57.25% |
HSB/HSV | 240° | 30.23% | 67.45% |
CMYK | 30.23% | 30.23% | 0.00% |
32.55% |
Hexadezimal | 78 | 78 | AC |
Dezimal | 120 | 120 | 172 |
Binär | 1111000 | 1111000 | 10101100 |
Oktal | 170 | 170 | 254 |
Beispiele css- und html für Elemente in der Farbe #7878AC. Bitte benutzen Sie auch rgb(120,120,172) statt hex-Code.
.myTextColor { color: #7878AC; }
<p style="color:#7878AC">This sample text font color is #7878AC.</p>
Die Farbe dieses Textes ist #7878AC.
.myBgColor { background-color: #7878AC; }
<div style="background-color:#7878AC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7878AC.
.myBorderColor { border: 1px solid #7878AC; }
<div style="border:3px solid #7878AC">Div</div>
Die Grenzen von diesem div sind in Farbe #7878AC.
.myOpacity80 { color: #7878AC; opacity: 0.8; }
<p style="color:#7878AC;opacity:0.8;">80%</p>
Text in Farbe #7878AC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7878AC;}
<p style="text-shadow: 3px 3px 1px #7878AC">Text here.</p>
Dieser Text hat den Schatten in Farbe #7878AC.
.textShadow {text-shadow: 3px 3px 1px #7878AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7878AC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7878AC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7878AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7878AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7878AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7878AC; -webkit-box-shadow: 1px 1px 3px 2px #7878AC; box-shadow: 1px 1px 3px 2px #7878AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7878AC; -webkit-box-shadow: 1px 1px 3px 2px #7878AC; box-shadow:1px 1px 3px 2px #7878AC;">
Div content here</div>
Dieser Text ist in der Farbe #7878AC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7878AC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7878AC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7878AC.