fix RGB methode