pretty-easy-rgb-to-hex
Version:
Converts an rgb color to it's corresponding HEX color value
17 lines (14 loc) • 297 B
text/typescript
// Dependancies
import { IRGB } from './irgb';
/**
* @description
* Main module interface
* defining accepted parameters
* of type string, number and IRGB
*
* @export
* @interface IModule
*/
export interface IModule {
(...args: Array<string | number | IRGB>) : string | Error;
}