READ THE INSTRUCTIONS BEFORE USING Why would you need this engine: A pen module in Scratch is using HSV (HSB): Hue, Color, Brightness color palette, whereas block "touching color ()" or "color () touching ()" and others accept only HEX (hexadecimal) representation. For those cases, this program will be useful Input (you must pass your values into these global variables): HSVConverter.Hue (0-100) HSVConverter.Saturation (0-100) HSVConverter.Brightness (0-100) Output: HSVConverter.HEX (color in HEX format) Usage: 1. Move an "HSVConverter" sprite into your project 2. Broadcast "HSVConverter.HSVtoHEX" in your code. Make sure you pass values into input variables WARNING: don't modify any code in "HSVConverter" sprite
Credit to RapidTables for formulae, and to @Mark_Rus-Scratch-Lab for inspiration :D