Maybe that link help :gdgsupport said:However, we’ll have to find out how.

Yes, thank you, I have tested that script before and it does’n work with ExeOutPut, on myside …wayos said:There is this color palette, I do not know if it will help you.
uses jquery.
Thank-you, this is to what I have been using until now, but using the windows color box will be more acurate !oldteacher said:I use http://jscolor.com/ for most all projects now.
I have to agree with you on on the accurate statement. Never got windows dialog box to work so got lazy and just used jscolor : )Gilmichel said:using the windows color box will be more acurate
But the answer is :procedure StartIt;
var
CD: TColorDialog;
S: String;
begin
CD := TColorDialog.Create(nil);
CD.Execute(0);
S := inttostr(CD.Color);
ShowMessage(S);
CD.Free;
end;
Then, you can get the value with PHP:procedure StartIt;
var
CD: TColorDialog;
S: String;
begin
CD := TColorDialog.Create(nil);
CD.Execute(0);
S := inttostr(CD.Color);
SetGlobalVar(“colorchoice”, S, false);
CD.Free;
end;
echo exo_getglobalvariable('colorchoice', '');
Then :function fromRGB($R, $G, $B)
{
}Code:$R = dechex($R); if (strlen($R)<2) $R = '0'.$R; $G = dechex($G); if (strlen($G)<2) $G = '0'.$G; $B = dechex($B); if (strlen($B)<2) $B = '0'.$B; return '#' . $R . $G . $B;
$color = exo_runhescriptcom(‘MainUser.StartIt’);
$result = exo_getglobalvariable(‘colorchoice’, ‘’);
echo fromRGB($result,“”,“”);
We use essential cookies to make this site work, and optional cookies to enhance your experience.