ColorPalette

constructor(primary: IsoColor = IsoColor(33.0, 150.0, 243.0), secondary: IsoColor = IsoColor(255.0, 100.0, 0.0), accent: IsoColor = IsoColor(0.0, 200.0, 100.0), background: IsoColor = IsoColor(245.0, 245.0, 245.0), surface: IsoColor = IsoColor(255.0, 255.0, 255.0), error: IsoColor = IsoColor(244.0, 67.0, 54.0))

Parameters

primary

The main brand color, used for prominent shapes. Defaults to blue.

secondary

A complementary color for secondary elements. Defaults to orange.

accent

A highlight color for interactive or attention-drawing shapes. Defaults to green.

background

The scene background color. Defaults to light grey.

surface

Color for surface-level elements such as floors or panels. Defaults to white.

error

Color used to indicate error states. Defaults to red.