HEX: #513A6C
RGB: (81,58,108)
#513A6C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #513A6C ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #513A6C wird in RGB als (81,58,108) definiert.
RGB: (81,58,108) (32%,23%,42%)
R 81 von 255 = 32%
G 58 von 255 = 23%
B 108 von 255 = 42%
R + G + B ~ 32%. #513A6C ziemlich dunkle Farbe.
R + G + B =
81 + 58 + 108 = 247 (100%)
R 81 von 247 ~ 32.79%
G 58 von 247 ~ 23.48%
B 108 von 247 ~ 43.72%
Die Farbe #513A6C wird in CMYK als (25,46,0,58) definiert.
CMYK: (25,46,0,58) C25M46Y0K58 (25%,46%,0%,58%) (0.25/0.46/0.00/0.58)
51 | 3A | 6C | |
---|---|---|---|
RGB | 81 | 58 | 108 |
HSL | 268° | 30.12% | 32.55% |
HSB/HSV | 268° | 46.30% | 42.35% |
CMYK | 25.00% | 46.30% | 0.00% |
57.65% |
Hexadezimal | 51 | 3A | 6C |
Dezimal | 81 | 58 | 108 |
Binär | 1010001 | 111010 | 1101100 |
Oktal | 121 | 72 | 154 |
Beispiele css- und html für Elemente in der Farbe #513A6C. Bitte benutzen Sie auch rgb(81,58,108) statt hex-Code.
.myTextColor { color: #513A6C; }
<p style="color:#513A6C">This sample text font color is #513A6C.</p>
Die Farbe dieses Textes ist #513A6C.
.myBgColor { background-color: #513A6C; }
<div style="background-color:#513A6C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #513A6C.
.myBorderColor { border: 1px solid #513A6C; }
<div style="border:3px solid #513A6C">Div</div>
Die Grenzen von diesem div sind in Farbe #513A6C.
.myOpacity80 { color: #513A6C; opacity: 0.8; }
<p style="color:#513A6C;opacity:0.8;">80%</p>
Text in Farbe #513A6C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513A6C;}
<p style="text-shadow: 3px 3px 1px #513A6C">Text here.</p>
Dieser Text hat den Schatten in Farbe #513A6C.
.textShadow {text-shadow: 3px 3px 1px #513A6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513A6C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #513A6C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513A6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513A6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #513A6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513A6C; -webkit-box-shadow: 1px 1px 3px 2px #513A6C; box-shadow: 1px 1px 3px 2px #513A6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513A6C; -webkit-box-shadow: 1px 1px 3px 2px #513A6C; box-shadow:1px 1px 3px 2px #513A6C;">
Div content here</div>
Dieser Text ist in der Farbe #513A6C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #513A6C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #513A6C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #513A6C.