Added /u/aaptel's better RGB solution