Changed color components from CGFloat to double so the project will run on both 32-bit and 64-bit devices.