Class to convert color with or without alpha channel