Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
improved color picker — Gideros Forum

improved color picker

piepie Member
edited March 2015 in Code snippets
Hi I played with colors to improve the color picker for gideros made by @sslivka
https://github.com/sslivka-gideros/ColorPicker

Here I found the basics
http://en.wikipedia.org/wiki/HSL_and_HSV

This and other forums (and @keszegh :) ) gave me the functions to convert rgb values to HSL and HEX (which gideros understands).

[edit]

@GeoCode made a wonderful slider control -which now can dispatch events

You can get the upgraded ColorPicker here:
https://github.com/piretro/ColorPicker

There is only one "strange" behaviour when the slider -which controls saturation - is at its minimum value:
saturation = 0 doesn't return exactly what I expected...
couldn't fix it yet, I am open to suggestions. :)
paletteofmydreams.png
381 x 663 - 5K
Sign In or Register to comment.