Adding class for transforming RGB single values to red, green, blue and
vice versa