HEX: #4F315B
RGB: (79,49,91)
#4F315B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4F315B ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #4F315B wird in RGB als (79,49,91) definiert.
RGB: (79,49,91) (31%,19%,36%)
R 79 von 255 = 31%
G 49 von 255 = 19%
B 91 von 255 = 36%
R + G + B ~ 29%. #4F315B ziemlich dunkle Farbe.
R + G + B =
79 + 49 + 91 = 219 (100%)
R 79 von 219 ~ 36.07%
G 49 von 219 ~ 22.37%
B 91 von 219 ~ 41.55%
Die Farbe #4F315B wird in CMYK als (13,46,0,64) definiert.
CMYK: (13,46,0,64) C13M46Y0K64 (13%,46%,0%,64%) (0.13/0.46/0.00/0.64)
4F | 31 | 5B | |
---|---|---|---|
RGB | 79 | 49 | 91 |
HSL | 283° | 30.00% | 27.45% |
HSB/HSV | 283° | 46.15% | 35.69% |
CMYK | 13.19% | 46.15% | 0.00% |
64.31% |
Hexadezimal | 4F | 31 | 5B |
Dezimal | 79 | 49 | 91 |
Binär | 1001111 | 110001 | 1011011 |
Oktal | 117 | 61 | 133 |
Beispiele css- und html für Elemente in der Farbe #4F315B. Bitte benutzen Sie auch rgb(79,49,91) statt hex-Code.
.myTextColor { color: #4F315B; }
<p style="color:#4F315B">This sample text font color is #4F315B.</p>
Die Farbe dieses Textes ist #4F315B.
.myBgColor { background-color: #4F315B; }
<div style="background-color:#4F315B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4F315B.
.myBorderColor { border: 1px solid #4F315B; }
<div style="border:3px solid #4F315B">Div</div>
Die Grenzen von diesem div sind in Farbe #4F315B.
.myOpacity80 { color: #4F315B; opacity: 0.8; }
<p style="color:#4F315B;opacity:0.8;">80%</p>
Text in Farbe #4F315B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F315B;}
<p style="text-shadow: 3px 3px 1px #4F315B">Text here.</p>
Dieser Text hat den Schatten in Farbe #4F315B.
.textShadow {text-shadow: 3px 3px 1px #4F315B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F315B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4F315B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F315B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F315B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F315B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F315B; -webkit-box-shadow: 1px 1px 3px 2px #4F315B; box-shadow: 1px 1px 3px 2px #4F315B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F315B; -webkit-box-shadow: 1px 1px 3px 2px #4F315B; box-shadow:1px 1px 3px 2px #4F315B;">
Div content here</div>
Dieser Text ist in der Farbe #4F315B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4F315B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4F315B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4F315B.