Click the backdrop to change it. First Hex code is the group method, second is the precise method. Under both of them they each have a timer to see how long they take. It all started from a comment left on my original hex color detector telling me to run it without screen refresh. The projects instructions clearly stated that it lagged my computer when I did that, and yet the comment was still left, as if to challenge me. I then remembered a video I saw a few years ago by @griffpatch, that said that scratch didn't detect all the colors it could display, but instead grouped them in 32 reds, 32 greens, and 16 blues. I first implemented that change, which made it go much quicker without lagging my computer. But there was one problem: with this method I could only get a general Idea of the color, but not the exact match. So I started thinking how to get the exact color, and eventually I found a way: This project works by applying darker overlays on the background until scratch detects it as a different color. Then it just counts how many times it applied it and sums it to the original. Now, if this were all one had to do, it wouldn't be that hard to make, but here is were my worst enemy comes to play: Floating Point Numbers. What are floating point numbers? They are an efficient way to store data and numbers when you can afford a small and insignificant rounding loss. I could not. That miniscule rounding done when scratch converts the floating point math into 8-bit integers messed with some colors (specifically #c0b418), and it forced me to add a bunch more code to double check, ultimately making it pretty slow. It can definitely be optimized more by skipping the whole hex part and just using the same color system griffpatch used, and maybe it's possible to implement some sort of binary search to speed it up, but I only rewatched that video and saw those options after finishing everything, so I leave that for some other time. You can try to use it in a project, but it lasts anywhere between instant and half a second, so be warned. 15/8/2026: completely redid the color system, applying the same color system @griffpatch used in his tutorial. It's now