Ok thanks that's very clear.
I'll try the map function for the range conversion.
Do you think it'll be better to keep my functions :
BlinkM_fadeToHSB(blinkm_addr, color, saturation, intensity);
in the loop part and just change the color, saturation, intensity variables value in the midi callbacks?