What's the best way to "round" a Color object to the nearest Color Constant?
Asked 2011-06-13T18:06:37.920
13
I will be retrieving the exact color of a pixel and would like to relate that exact color to a constant like Color.blue. Is there an easy way to "round" to the nearest Color Constant? Additionally, is there a way to define your own Color Constants?