HEX: #DDD31C
RGB: (221,211,28)
#DDD31C enthält hauptsächlich rote und grüne Farbe. Für #DDD31C ist eine «websichere» Webfarbe #CCCC33 (oder kurz #CC3).
Die Farbe #DDD31C wird in RGB als (221,211,28) definiert.
RGB: (221,211,28) (87%,83%,11%)
R 221 von 255 = 87%
G 211 von 255 = 83%
B 28 von 255 = 11%
R + G + B ~ 60%. #DDD31C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
221 + 211 + 28 = 460 (100%)
R 221 von 460 ~ 48.04%
G 211 von 460 ~ 45.87%
B 28 von 460 ~ 6.09%
Die Farbe #DDD31C wird in CMYK als (0,5,87,13) definiert.
CMYK: (0,5,87,13) C0M5Y87K13 (0%,5%,87%,13%) (0.00/0.05/0.87/0.13)
DD | D3 | 1C | |
---|---|---|---|
RGB | 221 | 211 | 28 |
HSL | 57° | 77.51% | 48.82% |
HSB/HSV | 57° | 87.33% | 86.67% |
CMYK | 0.00% | 4.52% | 87.33% |
13.33% |
Hexadezimal | DD | D3 | 1C |
Dezimal | 221 | 211 | 28 |
Binär | 11011101 | 11010011 | 11100 |
Oktal | 335 | 323 | 34 |
Beispiele css- und html für Elemente in der Farbe #DDD31C. Bitte benutzen Sie auch rgb(221,211,28) statt hex-Code.
.myTextColor { color: #DDD31C; }
<p style="color:#DDD31C">This sample text font color is #DDD31C.</p>
Die Farbe dieses Textes ist #DDD31C.
.myBgColor { background-color: #DDD31C; }
<div style="background-color:#DDD31C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #DDD31C.
.myBorderColor { border: 1px solid #DDD31C; }
<div style="border:3px solid #DDD31C">Div</div>
Die Grenzen von diesem div sind in Farbe #DDD31C.
.myOpacity80 { color: #DDD31C; opacity: 0.8; }
<p style="color:#DDD31C;opacity:0.8;">80%</p>
Text in Farbe #DDD31C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DDD31C;}
<p style="text-shadow: 3px 3px 1px #DDD31C">Text here.</p>
Dieser Text hat den Schatten in Farbe #DDD31C.
.textShadow {text-shadow: 3px 3px 1px #DDD31C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DDD31C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #DDD31C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DDD31C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DDD31C, Direction=45, Strength=4)">Text</p>
This text has shadow with #DDD31C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DDD31C; -webkit-box-shadow: 1px 1px 3px 2px #DDD31C; box-shadow: 1px 1px 3px 2px #DDD31C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DDD31C; -webkit-box-shadow: 1px 1px 3px 2px #DDD31C; box-shadow:1px 1px 3px 2px #DDD31C;">
Div content here</div>
Dieser Text ist in der Farbe #DDD31C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #DDD31C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #DDD31C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #DDD31C.