In this script clip I don't see the need for the long "if then" but I'm at a loss on how to deal with "the choice" as a variable. Or maybe I need to be choosing a variable???
set blueGray to {"8000", "8000", "10000"}
set black to {"0", "0", "0"}
set white to {"65535", "65535", "65535"}
set red to {"65535", "0", "0"}
set manual to "Choose Color"
set theColorList to {"Black", "blueGray", "White", "Red", "Manual"}
tell application "GraphicConverter"
activate
set {theChoice} to choose from list theColorList default items "blueGray" with title "Color Selection"
display dialog theChoice
set theChoice to {theChoice}
set background color to theChoice
end tell