Set inputColor as fgColor or default when using object notation

The inputColor is set the same as fgColor when using data-fgcolor property, but not when using only the object notation.