Colours API base_rgb field values

Colours API base_rgb field values

in API Development

Posted by: The Flaminator.3879

The Flaminator.3879

I was just playing around with the V2/Color API for a bit, when I noticed that all the colour objects returned have the same value for base_rgb, namely [128,26,26] is this done by design or are the values supposed to differ between different colours, I remember seeing different values before but I am not really sure.

Colours API base_rgb field values

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

By the look of the code, I think it’s always been the same. base_rgb is an attribute of the color palette — and the backend only looks at one color palette (the master palette of all colors). That hasn’t changed so I presume this has always been the behavior.

Colours API base_rgb field values

in API Development

Posted by: smiley.1438

smiley.1438

I believe, Cliff said once that the base_rgb *may* change for future items, which was the reason to add the value.