HEX: #FFC40C
RGB: (255,196,12)
#FFC40C contains mainly red and green colors. Web safe color of #FFC40C is #FFCC00 (or #FC0).
#FFC40C color RGB value is (255,196,12).
RGB: (255,196,12) (100%,77%,5%)
R 255 of 255 = 100%
G 196 of 255 = 77%
B 12 of 255 = 5%
R + G + B ~ 61%. #FFC40C is quite light color.
R + G + B =
255 + 196 + 12 = 463 (100%)
R 255 of 463 ~ 55.08%
G 196 of 463 ~ 42.33%
B 12 of 463 ~ 2.59%
#FFC40C color CMYK value is (0,23,95,0).
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% |
HEX | FF | C4 | 0C |
Decimal | 255 | 196 | 12 |
Binary | 11111111 | 11000100 | 1100 |
Octal | 377 | 304 | 14 |
Examples of css and html codes for elements with #FFC40C color. Also use rgb(255,196,12) instead hex code.
.myTextColor { color: #FFC40C; }
<p style="color:#FFC40C">This sample text font color is #FFC40C.</p>
This text font color is #FFC40C.
.myBgColor { background-color: #FFC40C; }
<div style="background-color:#FFC40C">Inner text</div>
This div background color is #FFC40C.
.myBorderColor { border: 1px solid #FFC40C; }
<div style="border:3px solid #FFC40C">Div</div>
This div border color is #FFC40C.
.myOpacity80 { color: #FFC40C; opacity: 0.8; }
<p style="color:#FFC40C;opacity:0.8;">80%</p>
Text with #FFC40C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFC40C;}
<p style="text-shadow: 3px 3px 1px #FFC40C">Text here.</p>
This text has shadow with #FFC40C color.
.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>
This text has shadow with #FFC40C primary color and red secondary color.
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>
This text has color #FFC40C on black background.
This text has color #FFC40C on white background.
This text has black color on #FFC40C background.
This text has white color on #FFC40C background.