HEX: #F0C105
RGB: (240,193,5)
#F0C105 contains mainly red and green colors. Web safe color of #F0C105 is #FFCC00 (or #FC0).
#F0C105 color RGB value is (240,193,5).
RGB: (240,193,5) (94%,76%,2%)
R 240 of 255 = 94%
G 193 of 255 = 76%
B 5 of 255 = 2%
R + G + B ~ 57%. #F0C105 is middle color (not dark and not light).
R + G + B =
240 + 193 + 5 = 438 (100%)
R 240 of 438 ~ 54.79%
G 193 of 438 ~ 44.06%
B 5 of 438 ~ 1.14%
#F0C105 color CMYK value is (0,20,98,6).
CMYK: (0,20,98,6) C0M20Y98K6 (0%,20%,98%,6%) (0.00/0.20/0.98/0.06)
F0 | C1 | 05 | |
---|---|---|---|
RGB | 240 | 193 | 5 |
HSL | 48° | 95.92% | 48.04% |
HSB/HSV | 48° | 97.92% | 94.12% |
CMYK | 0.00% | 19.58% | 97.92% |
5.88% |
HEX | F0 | C1 | 05 |
Decimal | 240 | 193 | 5 |
Binary | 11110000 | 11000001 | 101 |
Octal | 360 | 301 | 5 |
Examples of css and html codes for elements with #F0C105 color. Also use rgb(240,193,5) instead hex code.
.myTextColor { color: #F0C105; }
<p style="color:#F0C105">This sample text font color is #F0C105.</p>
This text font color is #F0C105.
.myBgColor { background-color: #F0C105; }
<div style="background-color:#F0C105">Inner text</div>
This div background color is #F0C105.
.myBorderColor { border: 1px solid #F0C105; }
<div style="border:3px solid #F0C105">Div</div>
This div border color is #F0C105.
.myOpacity80 { color: #F0C105; opacity: 0.8; }
<p style="color:#F0C105;opacity:0.8;">80%</p>
Text with #F0C105 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C105;}
<p style="text-shadow: 3px 3px 1px #F0C105">Text here.</p>
This text has shadow with #F0C105 color.
.textShadow {text-shadow: 3px 3px 1px #F0C105, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C105, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C105 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C105, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C105, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C105 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C105; -webkit-box-shadow: 1px 1px 3px 2px #F0C105; box-shadow: 1px 1px 3px 2px #F0C105; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C105; -webkit-box-shadow: 1px 1px 3px 2px #F0C105; box-shadow:1px 1px 3px 2px #F0C105;">
Div content here</div>
This text has color #F0C105 on black background.
This text has color #F0C105 on white background.
This text has black color on #F0C105 background.
This text has white color on #F0C105 background.