Type: object
Attribute | Type | Description |
---|---|---|
id | string | Identifier of the color |
created | integer | The unix timestamp when the color was created |
source_id | string (Optional) | Color's identifier in the design tool |
name | string | Name of the color |
r | integer | Red component of the color |
g | integer | Green component of the color |
b | integer | Blue component of the color |
a | number | Alpha component of the color |
source | Resource Source (Optional) | Source of the color–either project or styleguide . |
variable_info | Variable Info (Optional) | Variable info of the color |
Example
{
"id": "5dbad85a76ea51c1f35b6f69",
"source_id": "0BEBFEB3-A107-4D1D-A3B0-77D1FBD35F01",
"created": 1517184000,
"name": "baby poop green",
"r": 143,
"g": 152,
"b": 5,
"a": 1,
"variable_info": {
"source_id": "280c52e619f9c84a4e5e265bb746ede50d898cb3",
"collection_source_id": "4af2ee68305a9b4f0c655141e7ba01a51ab61bde"
},
"source": {
"project": {
"id": "5db81e73e1e36ee19f138c1a",
"name": "HAL 9000",
"platform": "web",
"linked_styleguide": {
"id": "5db981be9df2b3e1bfa19ef2"
}
}
}
}