Extract hostname color into a variable.