Oh yeah, I'm confused alright. I'm still new, but I'm trying.
Your post made sense to me and I made some progess, but have one more stumbling block.
I have this html
Color: <input name="color" class="color{onImmediateChange:'updateInfo(this);'}" value="66ff00">
R: <input id="info-r" name="colorr" size="2" />,
G: <input id="info-g" name="colorg" size="2" />,
B: <input id="info-b" name="colorb" size="2" />
and this in my php file
$colorr = $_POST["colorr"];
$colorg = $_POST["colorg"];
$colorb = $_POST["colorb"];
So this is now working to pull the value of the RGB fields, the problem is when jscolor sets these values it seems unless it is a 0 or 1 they put a decimal in front of the number and some are longer than 3 digits.
Example
R 0.08999999999999997
G 1
B 0.286
So when I go to display these colors they are not recognized.
How can I strip the decimal and the number in front of the decimal and also strip any digits past the decimal that are more than 3 places out
Thanks for the help