Interface IsRGBColorOptions

Options for RGB color validation.

interface IsRGBColorOptions {
    includePercentValues?: boolean;
}

Properties

includePercentValues?: boolean

Allows percentage values (e.g., rgb(5%, 5%, 5%)) if true. Defaults to true.