HEX: #FCF978
RGB: (252,249,120)
#FCF978 contains mainly red and green colors. Web safe color of #FCF978 is #FFFF66 (or #FF6).
#FCF978 color RGB value is (252,249,120).
RGB: (252,249,120) (99%,98%,47%)
R 252 of 255 = 99%
G 249 of 255 = 98%
B 120 of 255 = 47%
R + G + B ~ 81%. #FCF978 is quite light color.
R + G + B =
252 + 249 + 120 = 621 (100%)
R 252 of 621 ~ 40.58%
G 249 of 621 ~ 40.1%
B 120 of 621 ~ 19.32%
#FCF978 color CMYK value is (0,1,52,1).
CMYK: (0,1,52,1) C0M1Y52K1 (0%,1%,52%,1%) (0.00/0.01/0.52/0.01)
FC | F9 | 78 | |
---|---|---|---|
RGB | 252 | 249 | 120 |
HSL | 59° | 95.65% | 72.94% |
HSB/HSV | 59° | 52.38% | 98.82% |
CMYK | 0.00% | 1.19% | 52.38% |
1.18% |
HEX | FC | F9 | 78 |
Decimal | 252 | 249 | 120 |
Binary | 11111100 | 11111001 | 1111000 |
Octal | 374 | 371 | 170 |
Examples of css and html codes for elements with #FCF978 color. Also use rgb(252,249,120) instead hex code.
.myTextColor { color: #FCF978; }
<p style="color:#FCF978">This sample text font color is #FCF978.</p>
This text font color is #FCF978.
.myBgColor { background-color: #FCF978; }
<div style="background-color:#FCF978">Inner text</div>
This div background color is #FCF978.
.myBorderColor { border: 1px solid #FCF978; }
<div style="border:3px solid #FCF978">Div</div>
This div border color is #FCF978.
.myOpacity80 { color: #FCF978; opacity: 0.8; }
<p style="color:#FCF978;opacity:0.8;">80%</p>
Text with #FCF978 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FCF978;}
<p style="text-shadow: 3px 3px 1px #FCF978">Text here.</p>
This text has shadow with #FCF978 color.
.textShadow {text-shadow: 3px 3px 1px #FCF978, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FCF978, 5px 5px 20px red">Text here.</p>
This text has shadow with #FCF978 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FCF978, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FCF978, Direction=45, Strength=4)">Text</p>
This text has shadow with #FCF978 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FCF978; -webkit-box-shadow: 1px 1px 3px 2px #FCF978; box-shadow: 1px 1px 3px 2px #FCF978; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FCF978; -webkit-box-shadow: 1px 1px 3px 2px #FCF978; box-shadow:1px 1px 3px 2px #FCF978;">
Div content here</div>
This text has color #FCF978 on black background.
This text has color #FCF978 on white background.
This text has black color on #FCF978 background.
This text has white color on #FCF978 background.