Sunrise colour calculations

Determine colour in phase one and two of sunrise (black to red and red to white, respectively)