Skip to Content

Color

Provides color information in HEX, RGB, and HSL formats.

Type Definition

type Color { color: String rgb: String hsl: String }

Fields

FieldTypeDescription
colorStringColor as a HEX string (e.g., #RRGGBB).
rgbStringColor as an RGB string (e.g., rgb(255, 255, 255)).
hslStringColor as an HSL string (e.g., hsl(0, 0%, 100%)).

Relationships

The Color type is used by ProductTaxonomyValue to provide multiple color representations. It appears in the color, color2, and color3 fields of ProductTaxonomyValue, allowing products to be associated with multiple color values in different formats.

Example

{ color rgb hsl }

Implements

This type does not implement any interfaces.

  • ProductTaxonomyValue