Adds input functions. Fixes color setting.