tidied up demo
fixed rgb to hex converter