OptionalidThe optional reference ID for an external color definition.
OptionalfileThe optional reference to an external file for the color definition.
OptionalnameThe optional name of the color.
OptionalpathThe optional path or category to which this color belongs.
OptionalcolorThe optional solid color, represented as a string (e.g., '#FF5733').
OptionalopacityThe optional opacity level of the color, ranging from 0 (fully transparent) to 1 (fully opaque). Defaults to 1 if omitted.
OptionalrefThe optional reference ID for an external color definition.
OptionalrefThe optional reference to an external file for the color definition.
OptionalgradientThe optional gradient fill defined by a Gradient object.
OptionalimageThe optional image fill defined by an ImageData object.
Represents color properties in Penpot. This interface includes properties for defining solid colors, gradients, and image fills, along with metadata.