UNPKG

@devlander/colors

Version:

Color utility package used between packages

7 lines (6 loc) 272 B
/** * Checks if the provided string is a valid RGB color format. * @param rgb The string to validate as RGB (e.g., "rgb(255, 0, 128)"). * @returns True if the string is a valid RGB format, false otherwise. */ export declare const isValidRgb: (rgb: string) => boolean;