Color Detection Using Python With Source Transformations