Colour Choice
Another thing that needs deciding on is colours. Due to the fact that some computers RGB are not as good as other peoples I am suggesting 7 distinctive colours rather than using a colour gradient. Gradients can always be added later on as it will be an easier change to make as the background calculations will already be done. I have attached a jpeg with suggested colour choices and the different stages for helpful visualisation.

However I am going to write it down as well
The lowest heart rate would naturally be Purple a rather soothing colour. The suggested Hex code is B200FF. Then as it increases to a dark blue. The suggested Hex code is 0A32FF. A further heart rate increase moves towards light blue. The suggested Hex code is 03FDFC By the middle range we would increase towards green. The suggested Hex code is 00FF21. As it goes past the mid range we would use yellow. The suggested Hex code is FFF324. Once we are near the high end of heart rates we would use orange. The suggested Hex code is FC6602. Finally we would utilise the obvious red colour. The suggested Hex code is FF0000.
At this current time I am suggesting that we use the bottom 20% of the heart rate ranges as the Purple. Then each of the middle increases at the 12% difference in heart rate, With the red taking up the high end of the 20% heart rate ranges.
We could also possibly do pulsing red (not too quick though) when the heart rate gets above a certain amount. If we were to do this then the bottom 17% would be purple. With an increase of 11% heart rate with each colour increase up to the red which would take up 17% of the heart rate range and pulsing red taking up the final 11% range.
This is fine, however transitions between colors should probably be gradual rather than instantaneous
Really liked this idea, so tried to implement something similar, but also, so it could be generated by the server. Check this attached file, which shows the color gradient from 60bpm to 200bpm, this can of course be adjusted. But it is all dynamically generated.

It is not as colorful as the one colors suggested by @Mike-charlie, as those, even though they look nice, are random, so I couldn't think of a way to programmatically generate those colors, based on the heart rate. Unless we had some pre-defined (or user-adjustable) bounds i.e 60-75bpm will be purple, 76-85 will be blue etc. This could also be done. Credit to gandalfthewhite over on discord for the idea