How to get the color that the mouse is hovering

I have edited this color pallet from Roblox Studio, to be used as a color selector. How would I get the color that is currently under the mouse pointer?
colors

https://youtu.be/-1dDHwcnB6E this is how you could do it

1 Like

You would have to make a GUI for each hexagon in the palette and assign a color in the form of a string to each one. From there, you can use guiObject.MouseEnter to detect whether or not the mouse has entered the GUI’s hitbox. Though, it would be easier to simply make your own palette and use guiObject.Color instead of the string values.

1 Like