mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-23 18:41:52 +02:00
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
/* IMPORT */
|
|
import Color from '../color/index.js';
|
|
/* MAIN */
|
|
const toHex = (color) => {
|
|
return Color.format.hex.stringify(Color.parse(color));
|
|
};
|
|
/* EXPORT */
|
|
export default toHex;
|