HEX: #6B498C
RGB: (107,73,140)
#6B498C enthält hauptsächlich rote und blaue Farbe. Für #6B498C ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #6B498C wird in RGB als (107,73,140) definiert.
RGB: (107,73,140) (42%,29%,55%)
R 107 von 255 = 42%
G 73 von 255 = 29%
B 140 von 255 = 55%
R + G + B ~ 42%. #6B498C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
107 + 73 + 140 = 320 (100%)
R 107 von 320 ~ 33.44%
G 73 von 320 ~ 22.81%
B 140 von 320 ~ 43.75%
Die Farbe #6B498C wird in CMYK als (24,48,0,45) definiert.
CMYK: (24,48,0,45) C24M48Y0K45 (24%,48%,0%,45%) (0.24/0.48/0.00/0.45)
6B | 49 | 8C | |
---|---|---|---|
RGB | 107 | 73 | 140 |
HSL | 270° | 31.46% | 41.76% |
HSB/HSV | 270° | 47.86% | 54.90% |
CMYK | 23.57% | 47.86% | 0.00% |
45.10% |
Hexadezimal | 6B | 49 | 8C |
Dezimal | 107 | 73 | 140 |
Binär | 1101011 | 1001001 | 10001100 |
Oktal | 153 | 111 | 214 |
Beispiele css- und html für Elemente in der Farbe #6B498C. Bitte benutzen Sie auch rgb(107,73,140) statt hex-Code.
.myTextColor { color: #6B498C; }
<p style="color:#6B498C">This sample text font color is #6B498C.</p>
Die Farbe dieses Textes ist #6B498C.
.myBgColor { background-color: #6B498C; }
<div style="background-color:#6B498C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #6B498C.
.myBorderColor { border: 1px solid #6B498C; }
<div style="border:3px solid #6B498C">Div</div>
Die Grenzen von diesem div sind in Farbe #6B498C.
.myOpacity80 { color: #6B498C; opacity: 0.8; }
<p style="color:#6B498C;opacity:0.8;">80%</p>
Text in Farbe #6B498C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B498C;}
<p style="text-shadow: 3px 3px 1px #6B498C">Text here.</p>
Dieser Text hat den Schatten in Farbe #6B498C.
.textShadow {text-shadow: 3px 3px 1px #6B498C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B498C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #6B498C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B498C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B498C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B498C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B498C; -webkit-box-shadow: 1px 1px 3px 2px #6B498C; box-shadow: 1px 1px 3px 2px #6B498C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B498C; -webkit-box-shadow: 1px 1px 3px 2px #6B498C; box-shadow:1px 1px 3px 2px #6B498C;">
Div content here</div>
Dieser Text ist in der Farbe #6B498C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #6B498C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #6B498C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #6B498C.