HEX: #6C5182
RGB: (108,81,130)
#6C5182 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6C5182 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #6C5182 wird in RGB als (108,81,130) definiert.
RGB: (108,81,130) (42%,32%,51%)
R 108 von 255 = 42%
G 81 von 255 = 32%
B 130 von 255 = 51%
R + G + B ~ 42%. #6C5182 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
108 + 81 + 130 = 319 (100%)
R 108 von 319 ~ 33.86%
G 81 von 319 ~ 25.39%
B 130 von 319 ~ 40.75%
Die Farbe #6C5182 wird in CMYK als (17,38,0,49) definiert.
CMYK: (17,38,0,49) C17M38Y0K49 (17%,38%,0%,49%) (0.17/0.38/0.00/0.49)
6C | 51 | 82 | |
---|---|---|---|
RGB | 108 | 81 | 130 |
HSL | 273° | 23.22% | 41.37% |
HSB/HSV | 273° | 37.69% | 50.98% |
CMYK | 16.92% | 37.69% | 0.00% |
49.02% |
Hexadezimal | 6C | 51 | 82 |
Dezimal | 108 | 81 | 130 |
Binär | 1101100 | 1010001 | 10000010 |
Oktal | 154 | 121 | 202 |
Beispiele css- und html für Elemente in der Farbe #6C5182. Bitte benutzen Sie auch rgb(108,81,130) statt hex-Code.
.myTextColor { color: #6C5182; }
<p style="color:#6C5182">This sample text font color is #6C5182.</p>
Die Farbe dieses Textes ist #6C5182.
.myBgColor { background-color: #6C5182; }
<div style="background-color:#6C5182">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C5182.
.myBorderColor { border: 1px solid #6C5182; }
<div style="border:3px solid #6C5182">Div</div>
Die Grenzen von diesem div sind in Farbe #6C5182.
.myOpacity80 { color: #6C5182; opacity: 0.8; }
<p style="color:#6C5182;opacity:0.8;">80%</p>
Text in Farbe #6C5182 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C5182;}
<p style="text-shadow: 3px 3px 1px #6C5182">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C5182.
.textShadow {text-shadow: 3px 3px 1px #6C5182, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C5182, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C5182 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C5182, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C5182, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C5182 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C5182; -webkit-box-shadow: 1px 1px 3px 2px #6C5182; box-shadow: 1px 1px 3px 2px #6C5182; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C5182; -webkit-box-shadow: 1px 1px 3px 2px #6C5182; box-shadow:1px 1px 3px 2px #6C5182;">
Div content here</div>
Dieser Text ist in der Farbe #6C5182 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C5182 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C5182.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C5182.