How to get percentage between 2 colors

I want to tween a color from one to another, but I need to figure out the percentage between both colors. For example

0 = Color3.fromRGB(255, 38, 38)
1 = Color3.fromRGB(77, 165, 50)

How can I figure out what 0.5 is? or 0.325? Color3’s are tweenable, so I know there must a way of figuring this out

2 Likes

Using the lerp function?

3 Likes