Chaning the colors parsing pointers from float to double to fix the deprecation warnings for iOS 8