All RGB code challenge implementation