code: public static void clearScreen(final float r, final float g, final float b) {
          Gdx.gl.glClearColor(r, g, b, 1f);
          Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
      }
docs: Clears the screen with the selected color.
  
  @param r red color value.
  @param g green color value.
  @param b blue color value.