From any color to white RGB

Hi everyone! I made a simple script where everytime you click with a certain tool the tool’s hp decrease by one (max hp is 100)

So After 10 clicks will be 90, after 50 will be 50 and so on.

Now i made a “recharge” for this tools and made that

When i click (clickdetector) a cyan cube the tool will have again 100hp and the Cyan tonality

Same with red recharge and more

The issue is: i want to make that the color slowly becomes white according to the tool’s hp

So 100hp of red will be really red, 50 like pink and then 0 white

The problem is that i don’t know how to increase the RGB of the color according to tool’s hp because it will change on every color.

Also i’m using a module script with name, RGB and HP stored for every color used

You can try TweenService / Lerp in between 100 and 50, but other than that, idk

Then probably tween the individual RGB values according to that Tween / Lerp?

local white = color3.new(1, 1, 1)

local color100Hp = BrickColor.new("Really red").Color

local function getColor(hp)
    return white:Lerp(color100Hp, hp/100)
end