program for selecting HSV from RGB