replaced RGB inputs with color input