Represents the result of a palette generation operation.
This sealed interface provides three possible states:
Success when palette generation completes successfully
Loading when palette generation is in progress
Error when palette generation fails
Represents a failed palette generation operation.
Represents an in-progress palette generation operation.
Represents a successful palette generation.
Convenience property to get the Palette if this result is Success, or null otherwise.
null