Represents information about a color.

Properties

hex: string

The hexadecimal representation of the color.

The HSL representation of the color.

luminance: number

The luminance of the color.

name: string

The name of the color.

requestedHex: string

The hexadecimal representation of the color as requested.

The RGB representation of the color.