HEX: #7F7CAA
RGB: (127,124,170)
#7F7CAA enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7F7CAA ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7F7CAA wird in RGB als (127,124,170) definiert.
RGB: (127,124,170) (50%,49%,67%)
R 127 von 255 = 50%
G 124 von 255 = 49%
B 170 von 255 = 67%
R + G + B ~ 55%. #7F7CAA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
127 + 124 + 170 = 421 (100%)
R 127 von 421 ~ 30.17%
G 124 von 421 ~ 29.45%
B 170 von 421 ~ 40.38%
Die Farbe #7F7CAA wird in CMYK als (25,27,0,33) definiert.
CMYK: (25,27,0,33) C25M27Y0K33 (25%,27%,0%,33%) (0.25/0.27/0.00/0.33)
7F | 7C | AA | |
---|---|---|---|
RGB | 127 | 124 | 170 |
HSL | 244° | 21.30% | 57.65% |
HSB/HSV | 244° | 27.06% | 66.67% |
CMYK | 25.29% | 27.06% | 0.00% |
33.33% |
Hexadezimal | 7F | 7C | AA |
Dezimal | 127 | 124 | 170 |
Binär | 1111111 | 1111100 | 10101010 |
Oktal | 177 | 174 | 252 |
Beispiele css- und html für Elemente in der Farbe #7F7CAA. Bitte benutzen Sie auch rgb(127,124,170) statt hex-Code.
.myTextColor { color: #7F7CAA; }
<p style="color:#7F7CAA">This sample text font color is #7F7CAA.</p>
Die Farbe dieses Textes ist #7F7CAA.
.myBgColor { background-color: #7F7CAA; }
<div style="background-color:#7F7CAA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F7CAA.
.myBorderColor { border: 1px solid #7F7CAA; }
<div style="border:3px solid #7F7CAA">Div</div>
Die Grenzen von diesem div sind in Farbe #7F7CAA.
.myOpacity80 { color: #7F7CAA; opacity: 0.8; }
<p style="color:#7F7CAA;opacity:0.8;">80%</p>
Text in Farbe #7F7CAA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F7CAA;}
<p style="text-shadow: 3px 3px 1px #7F7CAA">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F7CAA.
.textShadow {text-shadow: 3px 3px 1px #7F7CAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F7CAA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F7CAA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F7CAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F7CAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F7CAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F7CAA; -webkit-box-shadow: 1px 1px 3px 2px #7F7CAA; box-shadow: 1px 1px 3px 2px #7F7CAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F7CAA; -webkit-box-shadow: 1px 1px 3px 2px #7F7CAA; box-shadow:1px 1px 3px 2px #7F7CAA;">
Div content here</div>
Dieser Text ist in der Farbe #7F7CAA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F7CAA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F7CAA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F7CAA.