An hour or two.
There was a small bug that was driving me crazy.
Fixed by typing a single world. A good half an hour of my life I’ll never get back though lol
If you have any personal questions, please PM me instead of posting it here.
Let’s keep this post open for bug reports and suggestions for improvements.
Hey, this might be a late reply but I was wondering how to convert the color variable to RGB? Because the color variable returns the expected color gradient in between any given colors and not the RGB value of the color chosen.
This is an amazing open source resource! I wanted to make a character creator gui but wanted to make it very customizable, and this is perfect! (I also like the fact that you can change the colors using ui gradients!)
I added onto your Color Picker GUI and added a custom input and added a second bar below the rainbow bar to make the color darker. I also made the GUI rounded.
Update : I added a little bit of white behind the pink on the top bar
When you change the color of the top bar, it changes the UIGradient color of the bottom bar like this:
How can I make it so that I can select different shades of white? At first it is there on the bottom, but once I drag the slider on top, there is no way of getting the white to black gradient on the bottom. I hope it make sense
Is there any plans to have this Color Picker support selecting like a very light color?
It seems if the second ‘satuation’ bar could go to ‘white’ would help selecting a more accurate color between white, light blue, blue, darkblue, black.
Edit: Seems like it was easy to manually support this by adding another color into the Bottom ColorSequence.
Line 52, ColorPickerLocalTop
local Color = ColorSequence.new{
ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,255)),
ColorSequenceKeypoint.new(0.5,getColor(xPos,ColorKeyPoints)),
ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))
}
Edit: Noticed you needed to use ColorSequenceKeypoint to define where to set the colors.
If you are interested, at dat.GUI I have implemented a Color Picker and the source code is available on github. At the moment it does not work on mobile (it was not the initial goal of the lib), but it can be useful for the evolution of your component, which is getting very nice.