The input color to generate the palette from. Can be a Color
object or a valid color string.
Optional
adjustContrast: boolean = trueIndicates whether to adjust contrast for the generated palette to improve accessibility.
Optional
ensureColorInAdjustment: boolean = trueDetermines whether to ensure the base color is passed unmodified during the contrast adjustment process.
Optional
family: "Tailwind v4" = 'Tailwind v4'The generator family to use for creating the palette. Defaults to 'Tailwind v4'.
ColorPalette
object.
Generates a color palette based on the specified base color and options.