+ Add Question

API: Color

I am trying to get the color of a project but it comes in Integer format. I was waiting for something like HEX or RGB.

Anyway, what is this Integer and how do I get the color HEX of some project?

All responses

David Trey staff
Replied on Mar 27, 2013 - 12:26 UTC

Hello Richard,

Todoist has a fixed amount of colors which you can pick for a project (we don't have a free color picker) and therefore each color is a number from 0 to 21. Please right-click on a project and see what colors are available and they're numbered as they are displayed there from 0 in the top-left corner followed by 1 - the next one to the right and so on.

Best regards,