HEX: #40497D
RGB: (64,73,125)
#40497D enthält hauptsächlich grüne und blaue Farbe. Für #40497D ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #40497D wird in RGB als (64,73,125) definiert.
RGB: (64,73,125) (25%,29%,49%)
R 64 von 255 = 25%
G 73 von 255 = 29%
B 125 von 255 = 49%
R + G + B ~ 34%. #40497D ziemlich dunkle Farbe.
R + G + B =
64 + 73 + 125 = 262 (100%)
R 64 von 262 ~ 24.43%
G 73 von 262 ~ 27.86%
B 125 von 262 ~ 47.71%
Die Farbe #40497D wird in CMYK als (49,42,0,51) definiert.
CMYK: (49,42,0,51) C49M42Y0K51 (49%,42%,0%,51%) (0.49/0.42/0.00/0.51)
40 | 49 | 7D | |
---|---|---|---|
RGB | 64 | 73 | 125 |
HSL | 231° | 32.28% | 37.06% |
HSB/HSV | 231° | 48.80% | 49.02% |
CMYK | 48.80% | 41.60% | 0.00% |
50.98% |
Hexadezimal | 40 | 49 | 7D |
Dezimal | 64 | 73 | 125 |
Binär | 1000000 | 1001001 | 1111101 |
Oktal | 100 | 111 | 175 |
Beispiele css- und html für Elemente in der Farbe #40497D. Bitte benutzen Sie auch rgb(64,73,125) statt hex-Code.
.myTextColor { color: #40497D; }
<p style="color:#40497D">This sample text font color is #40497D.</p>
Die Farbe dieses Textes ist #40497D.
.myBgColor { background-color: #40497D; }
<div style="background-color:#40497D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #40497D.
.myBorderColor { border: 1px solid #40497D; }
<div style="border:3px solid #40497D">Div</div>
Die Grenzen von diesem div sind in Farbe #40497D.
.myOpacity80 { color: #40497D; opacity: 0.8; }
<p style="color:#40497D;opacity:0.8;">80%</p>
Text in Farbe #40497D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40497D;}
<p style="text-shadow: 3px 3px 1px #40497D">Text here.</p>
Dieser Text hat den Schatten in Farbe #40497D.
.textShadow {text-shadow: 3px 3px 1px #40497D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40497D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #40497D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40497D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40497D, Direction=45, Strength=4)">Text</p>
This text has shadow with #40497D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40497D; -webkit-box-shadow: 1px 1px 3px 2px #40497D; box-shadow: 1px 1px 3px 2px #40497D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40497D; -webkit-box-shadow: 1px 1px 3px 2px #40497D; box-shadow:1px 1px 3px 2px #40497D;">
Div content here</div>
Dieser Text ist in der Farbe #40497D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #40497D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #40497D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #40497D.