Help with Color Sequence

So I was recently trying to set up a trails Color via script, and checked the api (https://developer.roblox.com/en-us/api-reference/datatype/ColorSequence), I understood how to use it except for one example, which was using a table to set up the keypoints, I would really like an example or something of sorts, thanks in advance :slight_smile:

Using a table to set up the keypoints Iā€™d assume gives you a longer lengthier sequence, just formatting.
Example:

ColorSequence.new({Color3.new(color), Color3.new(color), Color3.new(color) ... })
2 Likes

@Endyloid thanks for the reply, but I just solved it, I was using Color3.fromRGB, instead I needed to use ColorSequenceKeypoint

1 Like