function hueshiftColor(col, amount) {
  let colRgba = parseColor(col);
  let colHsla = rgbaToHsla(colRgba.r, colRgba.g, colRgba.b, colRgba.a);
  colRgba = hslaToRgba((hsl[0] + amount) % 1, colHsla[1], colHsla[2],colHsla[3]);
  return RGBobj2string({
    r: colRgba[0],
    g: colRgba[1],
    b: colRgba[2],
    a: colRgba[3]
  });
}
/**
 * Hue shift colour by a given amount.
 */
Hue shift colour by a given amount.
Hue shift colour by a given amount .
function hueshiftColor(col, amount) {
  let colRgba = parseColor(col);
  let colHsla = rgbaToHsla(colRgba.r, colRgba.g, colRgba.b, colRgba.a);
  colRgba = hslaToRgba((hsl[0] + amount) % 1, colHsla[1], colHsla[2],colHsla[3]);
  return RGBobj2string({
    r: colRgba[0],
    g: colRgba[1],
    b: colRgba[2],
    a: colRgba[3]
  });
}
function hueshiftColor ( col , amount ) { let colRgba = parseColor ( col ) ; let colHsla = rgbaToHsla ( colRgba . r , colRgba . g , colRgba . b , colRgba . a ) ; colRgba = hslaToRgba ( ( hsl [ 0 ] + amount ) % 1 , colHsla [ 1 ] , colHsla [ 2 ] , colHsla [ 3 ] ) ; return RGBobj2string ( { r : colRgba [ 0 ] , g : colRgba [ 1 ] , b : colRgba [ 2 ] , a : colRgba [ 3 ] } ) ; }
Hue shift colour by a given amount.
Hue shift colour by a given amount .