HEX: #6C5271
RGB: (108,82,113)
#6C5271 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #6C5271 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #6C5271 wird in RGB als (108,82,113) definiert.
RGB: (108,82,113) (42%,32%,44%)
R 108 von 255 = 42%
G 82 von 255 = 32%
B 113 von 255 = 44%
R + G + B ~ 39%. #6C5271 ziemlich dunkle Farbe.
R + G + B =
108 + 82 + 113 = 303 (100%)
R 108 von 303 ~ 35.64%
G 82 von 303 ~ 27.06%
B 113 von 303 ~ 37.29%
Die Farbe #6C5271 wird in CMYK als (4,27,0,56) definiert.
CMYK: (4,27,0,56) C4M27Y0K56 (4%,27%,0%,56%) (0.04/0.27/0.00/0.56)
6C | 52 | 71 | |
---|---|---|---|
RGB | 108 | 82 | 113 |
HSL | 290° | 15.90% | 38.24% |
HSB/HSV | 290° | 27.43% | 44.31% |
CMYK | 4.42% | 27.43% | 0.00% |
55.69% |
Hexadezimal | 6C | 52 | 71 |
Dezimal | 108 | 82 | 113 |
Binär | 1101100 | 1010010 | 1110001 |
Oktal | 154 | 122 | 161 |
Beispiele css- und html für Elemente in der Farbe #6C5271. Bitte benutzen Sie auch rgb(108,82,113) statt hex-Code.
.myTextColor { color: #6C5271; }
<p style="color:#6C5271">This sample text font color is #6C5271.</p>
Die Farbe dieses Textes ist #6C5271.
.myBgColor { background-color: #6C5271; }
<div style="background-color:#6C5271">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6C5271.
.myBorderColor { border: 1px solid #6C5271; }
<div style="border:3px solid #6C5271">Div</div>
Die Grenzen von diesem div sind in Farbe #6C5271.
.myOpacity80 { color: #6C5271; opacity: 0.8; }
<p style="color:#6C5271;opacity:0.8;">80%</p>
Text in Farbe #6C5271 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C5271;}
<p style="text-shadow: 3px 3px 1px #6C5271">Text here.</p>
Dieser Text hat den Schatten in Farbe #6C5271.
.textShadow {text-shadow: 3px 3px 1px #6C5271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C5271, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6C5271 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C5271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C5271, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C5271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C5271; -webkit-box-shadow: 1px 1px 3px 2px #6C5271; box-shadow: 1px 1px 3px 2px #6C5271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C5271; -webkit-box-shadow: 1px 1px 3px 2px #6C5271; box-shadow:1px 1px 3px 2px #6C5271;">
Div content here</div>
Dieser Text ist in der Farbe #6C5271 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6C5271 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6C5271.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6C5271.