Color conversion from string working correctly