Fixed random color functionality