HEX: #4C175A
RGB: (76,23,90)
#4C175A enthält hauptsächlich rote und blaue Farbe. Für #4C175A ist eine «websichere» Webfarbe #330066 (oder kurz #306).
Die Farbe #4C175A wird in RGB als (76,23,90) definiert.
RGB: (76,23,90) (30%,9%,35%)
R 76 von 255 = 30%
G 23 von 255 = 9%
B 90 von 255 = 35%
R + G + B ~ 25%. #4C175A ziemlich dunkle Farbe.
R + G + B =
76 + 23 + 90 = 189 (100%)
R 76 von 189 ~ 40.21%
G 23 von 189 ~ 12.17%
B 90 von 189 ~ 47.62%
Die Farbe #4C175A wird in CMYK als (16,74,0,65) definiert.
CMYK: (16,74,0,65) C16M74Y0K65 (16%,74%,0%,65%) (0.16/0.74/0.00/0.65)
4C | 17 | 5A | |
---|---|---|---|
RGB | 76 | 23 | 90 |
HSL | 287° | 59.29% | 22.16% |
HSB/HSV | 287° | 74.44% | 35.29% |
CMYK | 15.56% | 74.44% | 0.00% |
64.71% |
Hexadezimal | 4C | 17 | 5A |
Dezimal | 76 | 23 | 90 |
Binär | 1001100 | 10111 | 1011010 |
Oktal | 114 | 27 | 132 |
Beispiele css- und html für Elemente in der Farbe #4C175A. Bitte benutzen Sie auch rgb(76,23,90) statt hex-Code.
.myTextColor { color: #4C175A; }
<p style="color:#4C175A">This sample text font color is #4C175A.</p>
Die Farbe dieses Textes ist #4C175A.
.myBgColor { background-color: #4C175A; }
<div style="background-color:#4C175A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C175A.
.myBorderColor { border: 1px solid #4C175A; }
<div style="border:3px solid #4C175A">Div</div>
Die Grenzen von diesem div sind in Farbe #4C175A.
.myOpacity80 { color: #4C175A; opacity: 0.8; }
<p style="color:#4C175A;opacity:0.8;">80%</p>
Text in Farbe #4C175A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C175A;}
<p style="text-shadow: 3px 3px 1px #4C175A">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C175A.
.textShadow {text-shadow: 3px 3px 1px #4C175A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C175A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C175A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C175A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C175A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C175A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C175A; -webkit-box-shadow: 1px 1px 3px 2px #4C175A; box-shadow: 1px 1px 3px 2px #4C175A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C175A; -webkit-box-shadow: 1px 1px 3px 2px #4C175A; box-shadow:1px 1px 3px 2px #4C175A;">
Div content here</div>
Dieser Text ist in der Farbe #4C175A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C175A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C175A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C175A.