HEX: #F0C54D
RGB: (240,197,77)
#F0C54D contains mainly red and green colors. Web safe color of #F0C54D is #FFCC33 (or #FC3).
#F0C54D color RGB value is (240,197,77).
RGB: (240,197,77) (94%,77%,30%)
R 240 of 255 = 94%
G 197 of 255 = 77%
B 77 of 255 = 30%
R + G + B ~ 67%. #F0C54D is quite light color.
R + G + B =
240 + 197 + 77 = 514 (100%)
R 240 of 514 ~ 46.69%
G 197 of 514 ~ 38.33%
B 77 of 514 ~ 14.98%
#F0C54D color CMYK value is (0,18,68,6).
CMYK: (0,18,68,6) C0M18Y68K6 (0%,18%,68%,6%) (0.00/0.18/0.68/0.06)
F0 | C5 | 4D | |
---|---|---|---|
RGB | 240 | 197 | 77 |
HSL | 44° | 84.46% | 62.16% |
HSB/HSV | 44° | 67.92% | 94.12% |
CMYK | 0.00% | 17.92% | 67.92% |
5.88% |
HEX | F0 | C5 | 4D |
Decimal | 240 | 197 | 77 |
Binary | 11110000 | 11000101 | 1001101 |
Octal | 360 | 305 | 115 |
Examples of css and html codes for elements with #F0C54D color. Also use rgb(240,197,77) instead hex code.
.myTextColor { color: #F0C54D; }
<p style="color:#F0C54D">This sample text font color is #F0C54D.</p>
This text font color is #F0C54D.
.myBgColor { background-color: #F0C54D; }
<div style="background-color:#F0C54D">Inner text</div>
This div background color is #F0C54D.
.myBorderColor { border: 1px solid #F0C54D; }
<div style="border:3px solid #F0C54D">Div</div>
This div border color is #F0C54D.
.myOpacity80 { color: #F0C54D; opacity: 0.8; }
<p style="color:#F0C54D;opacity:0.8;">80%</p>
Text with #F0C54D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C54D;}
<p style="text-shadow: 3px 3px 1px #F0C54D">Text here.</p>
This text has shadow with #F0C54D color.
.textShadow {text-shadow: 3px 3px 1px #F0C54D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C54D, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C54D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C54D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C54D, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C54D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C54D; -webkit-box-shadow: 1px 1px 3px 2px #F0C54D; box-shadow: 1px 1px 3px 2px #F0C54D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C54D; -webkit-box-shadow: 1px 1px 3px 2px #F0C54D; box-shadow:1px 1px 3px 2px #F0C54D;">
Div content here</div>
This text has color #F0C54D on black background.
This text has color #F0C54D on white background.
This text has black color on #F0C54D background.
This text has white color on #F0C54D background.