HEX: #4C157C
RGB: (76,21,124)
#4C157C enthält hauptsächlich rote und blaue Farbe. Für #4C157C ist eine «websichere» Webfarbe #330066 (oder kurz #306).
Die Farbe #4C157C wird in RGB als (76,21,124) definiert.
RGB: (76,21,124) (30%,8%,49%)
R 76 von 255 = 30%
G 21 von 255 = 8%
B 124 von 255 = 49%
R + G + B ~ 29%. #4C157C ziemlich dunkle Farbe.
R + G + B =
76 + 21 + 124 = 221 (100%)
R 76 von 221 ~ 34.39%
G 21 von 221 ~ 9.5%
B 124 von 221 ~ 56.11%
Die Farbe #4C157C wird in CMYK als (39,83,0,51) definiert.
CMYK: (39,83,0,51) C39M83Y0K51 (39%,83%,0%,51%) (0.39/0.83/0.00/0.51)
4C | 15 | 7C | |
---|---|---|---|
RGB | 76 | 21 | 124 |
HSL | 272° | 71.03% | 28.43% |
HSB/HSV | 272° | 83.06% | 48.63% |
CMYK | 38.71% | 83.06% | 0.00% |
51.37% |
Hexadezimal | 4C | 15 | 7C |
Dezimal | 76 | 21 | 124 |
Binär | 1001100 | 10101 | 1111100 |
Oktal | 114 | 25 | 174 |
Beispiele css- und html für Elemente in der Farbe #4C157C. Bitte benutzen Sie auch rgb(76,21,124) statt hex-Code.
.myTextColor { color: #4C157C; }
<p style="color:#4C157C">This sample text font color is #4C157C.</p>
Die Farbe dieses Textes ist #4C157C.
.myBgColor { background-color: #4C157C; }
<div style="background-color:#4C157C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C157C.
.myBorderColor { border: 1px solid #4C157C; }
<div style="border:3px solid #4C157C">Div</div>
Die Grenzen von diesem div sind in Farbe #4C157C.
.myOpacity80 { color: #4C157C; opacity: 0.8; }
<p style="color:#4C157C;opacity:0.8;">80%</p>
Text in Farbe #4C157C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C157C;}
<p style="text-shadow: 3px 3px 1px #4C157C">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C157C.
.textShadow {text-shadow: 3px 3px 1px #4C157C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C157C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C157C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C157C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C157C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C157C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C157C; -webkit-box-shadow: 1px 1px 3px 2px #4C157C; box-shadow: 1px 1px 3px 2px #4C157C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C157C; -webkit-box-shadow: 1px 1px 3px 2px #4C157C; box-shadow:1px 1px 3px 2px #4C157C;">
Div content here</div>
Dieser Text ist in der Farbe #4C157C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C157C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C157C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C157C.