Color
Provides color information in HEX, RGB, and HSL formats.
Type Definition
type Color {
color: String
rgb: String
hsl: String
}Fields
| Field | Type | Description |
|---|---|---|
| color | String | Color as a HEX string (e.g., #RRGGBB). |
| rgb | String | Color as an RGB string (e.g., rgb(255, 255, 255)). |
| hsl | String | Color as an HSL string (e.g., hsl(0, 0%, 100%)). |
Relationships
The Color type is a structured data object that can be returned as a field within other GraphQL types, queries, and mutations. It provides multiple color format representations for flexibility in consuming applications.
Example
{
color
rgb
hsl
}Implements
None
Related Types
None