Updated random color generator to use simple hex conversion.