refactor of addRed/Green/Blue