export enum ColorFormats { HEX , RGBA , HSLA , CMYK } export class Rgba { constructor ( public r , public g , public b , public a ) { } } export class Hsva { constructor ( public h , public s , public v , public a ) { } } export class Hsla { constructor ( public h , public s , public l , public a ) { } } export class Cmyk { constructor ( public c , public m , public y , public k , public a = 1 ) { } }