Replace PDB B-factor values with your desired scores!
spectrum b, blue_white_red, chain A show cartoon
A