Optional
value: ColorLikeThe value to parse.
The parsed color, or black color if value is invalid.
Creates a new gradient with equidistant stops.
Optional
colors: readonly ColorLike[]The list of colors that comprise the gradient.
The value of the first color in colors.
The value of the last color in colors.
Parses value into a Color instance. When another color instance is provided, it is cloned.