Pascal Scripting: StrToColor

Prototype:

function StrToColor(S: String): TColor;

Description:

The StrToColor function converts the string passed in S, formatted as '#rrggbb', into a color. Raises an exception if not successful.