HEX: #FFC40C
RGB: (255,196,12)
#FFC40C enthält hauptsächlich rote und grüne Farbe. Für #FFC40C ist eine «websichere» Webfarbe #FFCC00 (oder kurz #FC0).
Die Farbe #FFC40C wird in RGB als (255,196,12) definiert.
RGB: (255,196,12) (100%,77%,5%)
R 255 von 255 = 100%
G 196 von 255 = 77%
B 12 von 255 = 5%
R + G + B ~ 61%. #FFC40C ziemlich helle Farbe.
R + G + B =
255 + 196 + 12 = 463 (100%)
R 255 von 463 ~ 55.08%
G 196 von 463 ~ 42.33%
B 12 von 463 ~ 2.59%
Die Farbe #FFC40C wird in CMYK als (0,23,95,0) definiert.
CMYK: (0,23,95,0) C0M23Y95K0 (0%,23%,95%,0%) (0.00/0.23/0.95/0.00)
FF | C4 | 0C | |
---|---|---|---|
RGB | 255 | 196 | 12 |
HSL | 45° | 100.00% | 52.35% |
HSB/HSV | 45° | 95.29% | 100.00% |
CMYK | 0.00% | 23.14% | 95.29% |
0.00% |
Hexadezimal | FF | C4 | 0C |
Dezimal | 255 | 196 | 12 |
Binär | 11111111 | 11000100 | 1100 |
Oktal | 377 | 304 | 14 |
Beispiele css- und html für Elemente in der Farbe #FFC40C. Bitte benutzen Sie auch rgb(255,196,12) statt hex-Code.
.myTextColor { color: #FFC40C; }
<p style="color:#FFC40C">This sample text font color is #FFC40C.</p>
Die Farbe dieses Textes ist #FFC40C.
.myBgColor { background-color: #FFC40C; }
<div style="background-color:#FFC40C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #FFC40C.
.myBorderColor { border: 1px solid #FFC40C; }
<div style="border:3px solid #FFC40C">Div</div>
Die Grenzen von diesem div sind in Farbe #FFC40C.
.myOpacity80 { color: #FFC40C; opacity: 0.8; }
<p style="color:#FFC40C;opacity:0.8;">80%</p>
Text in Farbe #FFC40C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFC40C;}
<p style="text-shadow: 3px 3px 1px #FFC40C">Text here.</p>
Dieser Text hat den Schatten in Farbe #FFC40C.
.textShadow {text-shadow: 3px 3px 1px #FFC40C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFC40C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #FFC40C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFC40C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFC40C, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFC40C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFC40C; -webkit-box-shadow: 1px 1px 3px 2px #FFC40C; box-shadow: 1px 1px 3px 2px #FFC40C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFC40C; -webkit-box-shadow: 1px 1px 3px 2px #FFC40C; box-shadow:1px 1px 3px 2px #FFC40C;">
Div content here</div>
Dieser Text ist in der Farbe #FFC40C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #FFC40C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #FFC40C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #FFC40C.