isAllowed

abstract fun isAllowed(rgb: Int, hsl: FloatArray): Boolean

Hook to allow clients to be able filter colors from resulting palette.

Return

true if the color is allowed, false if not.

Parameters

rgb

the color in RGB888.

hsl

HSL representation of the color.

See also