(I used it to create this Color Picker, but you can use it for other things too, like easy visual-color lerping) Get it here: create.roblox. Keypoints), and it returns the expected color gradient in-between any given colors. You feed it a percentage (a decimal between 0 and 1), then a list of ColorKeyPoints ( UiGradient. LocalPercentage = (percentage-closestToLeft.Time)/()Ĭolor = closestToLeft.Value:lerp(closestToRight.Value,LocalPercentage) If (ColorKeyPoints.Time = percentage) then This loop can probably be improved by doing something like a Binary search instead Warn'getColor got out of bounds percentage (less than 0 or greater than 1' error'getColor percentage out of bounds!' function getColor(percentage, ColorKeyPoints) It works by using this "getColor" function I wrote. (Personally, I will be using this for the character creator in my game Whisperbit)
You can use this for anything from skin-color selection, to hair color, to eye colors, to building colors. Therefore, 0, 360, and 720 degree will result in the same spot on the color. The wheel of colours, also known as the colour wheel picker, is a fundamental tool in the world of design and visual arts. When giving a presentation, use the wheel spinner to choose a lucky winner from. If you work in retail, spin the wheel to determine who will receive a prize or discount. Hue - Hue has a range between 0 and 359 which represents the degree on the color wheel. Every day, we hear from folks who are finding new ways to use our website: - In the classroom, use WheelRandom to determine which student will answer the next question. To edit the gradient, you simply edit the UiGradient’s color sequence. Color Picker is a free online developer tool to pick a color from the palette and get the color code in HEX, RGB, and HSL instantly including color converter between HEX and RGB.