Move the definition of body temperature color in separate function