Accept html-style colors

Signed-off-by: Paul Brook <paul@nowt.org>