File size: 210 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
/* IMPORT */
import Color from '~/color';
/* MAIN */
const toRgba = ( color: string ): string => {
return Color.format.rgba.stringify ( Color.parse ( color ) );
};
/* EXPORT */
export default toRgba;
|