Okay, so, from what I understand, the problem is parsing the HEX color? That's quite easy in C#:
public Color FromHexValue(string value)
{
if (value.Length == 6) value = "FF" + value;
return Color.FromArgb(Convert.ToInt32(value, 16));
}
This example does NOT check for wrong values so be careful to check that first. Like this the method can handle 6 (RRGGBB) or 8 (AARRGGBB) hexadecimal character values like:
FF0000
FFFF0000
Both are the same Color: Red.
I hope that helps.
Best regards!
(\/)
( . .)
c(")(") Bjørn