what
set ticks to 0 and snap to false
No. Absolutely not. That will contain decimal values, which do not work with colours.
Did you think it was just a coincidence that a byte has a maximum value of 255? and that each 2 hex characters have a maximum value of 255, and that 3 sets of those make up a rgb colour?
No. It's like that for a reason. A colour is 3 values from 0 and 255, each one of those values taking up ONE byte. Decimal numbers take up MANY more bytes than 1.
You need to round down.
So I'm to use this method to translate it from the GuiSwatchCtrl to the GuiSlider controls? If so which one do I use?
You don't have to convert. I'm just saying that if you wanted to convert it to hex, that's what you can use.
guiswatchcontrol.setcolor(); uses 0-1 input NOT 0-255
You're probably thinking of bitmap controls.
You know jes, I can just make an example of this for you if you want, using only answers obtained from this topic.