
/* IMPORT */

import Color from '~/color';

/* MAIN */

const toRgba = ( color: string ): string => {

  return Color.format.rgba.stringify ( Color.parse ( color ) );

};

/* EXPORT */

export default toRgba;
