HEX: #796496
RGB: (121,100,150)
#796496 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #796496 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #796496 wird in RGB als (121,100,150) definiert.
RGB: (121,100,150) (47%,39%,59%)
R 121 von 255 = 47%
G 100 von 255 = 39%
B 150 von 255 = 59%
R + G + B ~ 48%. #796496 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
121 + 100 + 150 = 371 (100%)
R 121 von 371 ~ 32.61%
G 100 von 371 ~ 26.95%
B 150 von 371 ~ 40.43%
Die Farbe #796496 wird in CMYK als (19,33,0,41) definiert.
CMYK: (19,33,0,41) C19M33Y0K41 (19%,33%,0%,41%) (0.19/0.33/0.00/0.41)
79 | 64 | 96 | |
---|---|---|---|
RGB | 121 | 100 | 150 |
HSL | 265° | 20.00% | 49.02% |
HSB/HSV | 265° | 33.33% | 58.82% |
CMYK | 19.33% | 33.33% | 0.00% |
41.18% |
Hexadezimal | 79 | 64 | 96 |
Dezimal | 121 | 100 | 150 |
Binär | 1111001 | 1100100 | 10010110 |
Oktal | 171 | 144 | 226 |
Beispiele css- und html für Elemente in der Farbe #796496. Bitte benutzen Sie auch rgb(121,100,150) statt hex-Code.
.myTextColor { color: #796496; }
<p style="color:#796496">This sample text font color is #796496.</p>
Die Farbe dieses Textes ist #796496.
.myBgColor { background-color: #796496; }
<div style="background-color:#796496">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #796496.
.myBorderColor { border: 1px solid #796496; }
<div style="border:3px solid #796496">Div</div>
Die Grenzen von diesem div sind in Farbe #796496.
.myOpacity80 { color: #796496; opacity: 0.8; }
<p style="color:#796496;opacity:0.8;">80%</p>
Text in Farbe #796496 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #796496;}
<p style="text-shadow: 3px 3px 1px #796496">Text here.</p>
Dieser Text hat den Schatten in Farbe #796496.
.textShadow {text-shadow: 3px 3px 1px #796496, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #796496, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #796496 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#796496, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#796496, Direction=45, Strength=4)">Text</p>
This text has shadow with #796496 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #796496; -webkit-box-shadow: 1px 1px 3px 2px #796496; box-shadow: 1px 1px 3px 2px #796496; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #796496; -webkit-box-shadow: 1px 1px 3px 2px #796496; box-shadow:1px 1px 3px 2px #796496;">
Div content here</div>
Dieser Text ist in der Farbe #796496 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #796496 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #796496.
Dieser Text ist weiß auf dem Hintergrund in Farbe #796496.