Add color conversion functions