core: let Color methods take doubles