public Vector3D hsl(){
  float r=redf();
  float g=greenf();
  float b=bluef();
  float min=Math.min(Math.min(r,g),b);
  float max=Math.max(Math.max(r,g),b);
  float l=lighting(min,max);
  float s=saturation(min,max,l);
  float h=hue(r,g,b,min,max);
  return new Vector3D(h,s,l);
}

public Vector3D hsl ( ) { float r = redf ( ) ; float g = greenf ( ) ; float b = bluef ( ) ; float min = Math . min ( Math . min ( r , g ) , b ) ; float max = Math . max ( Math . max ( r , g ) , b ) ; float l = lighting ( min , max ) ; float s = saturation ( min , max , l ) ; float h = hue ( r , g , b , min , max ) ; return new Vector3D ( h , s , l ) ; }
getter for hsl components .
