code: private double doubleValueLeftColor( double color, double right ) {
          return rgba( doubleValue( red( color ), right ), //
                          doubleValue( green( color ), right ), //
                          doubleValue( blue( color ), right ), 1 );
      }
docs: Calculate a color on left with a number on the right side. The calculation occur for every color channel.
  
  @param color the color
  @param right the right
  @return color value as long