Color picker - Names and codes list

Hello !

Would it be possible to have a list with the names and color codes of the color presets please?

image

I looked around but I don’t seem to be able to find it.

I have two “calendars”. One is using pre-defined task names to automatically assign color to the gantt view, now I would like to do the same but with associated sequences.

Thank you !
MG

3 Likes

Hi @nlyxe,

Thanks for the question! Search as I might, I don’t see anywhere we have in the web UI that displays a name or something like a hex value. The best I can find is when watching the network calls in the browser developer tools, it looks like we’re passing an RGB value back to Shotgun like this:

"column":color","value":"202,237,197"

Aside from that rather hacky way to get at the exact color values from the picker, there aren’t any other options at the moment.

2 Likes

@brandon.foster nailed it on the head.

The colour values we pass in are strings which represent the RGB value of the colour except for when you want to use the pipeline step colour at which point the value should be pipeline_step.

I did an inventory for you so you can look up the values if you wish. Each colour from 001 to 120 is from left to right and top to bottom (like a book in english) and is based on the UI element in screenshot you shared.

This was extracted using the Python API, the color field on the Task entity and a bit of patience.

Have fun! :wink:

color001: 255,255,255
color002: 234,234,234
color003: 213,213,213
color004: 192,192,192
color005: 171,171,171
color006: 150,150,150
color007: 129,129,129
color008: 108,108,108
color009: 87,87,87
color010: 66,66,66
color011: 45,45,45
color012: 24,24,24
color013: 0,41,59
color014: 2,17,74
color015: 19,0,46
color016: 47,1,50
color017: 62,1,19
color018: 99,0,0
color019: 94,0,0
color020: 83,33,0
color021: 77,44,1
color022: 84,83,3
color023: 54,71,1
color024: 1,49,1
color025: 0,62,87
color026: 1,26,108
color027: 27,0,69
color028: 71,0,76
color029: 90,0,28
color030: 148,0,0
color031: 136,0,2
color032: 125,48,2
color033: 117,66,0
color034: 123,118,0
color035: 81,104,0
color036: 0,74,0
color037: 0,92,131
color038: 0,39,166
color039: 47,0,106
color040: 107,1,112
color041: 135,0,43
color042: 222,0,0
color043: 204,0,1
color044: 179,76,7
color045: 172,98,0
color046: 184,178,4
color047: 123,154,1
color048: 1,110,1
color049: 0,126,174
color050: 1,54,218
color051: 59,0,140
color052: 139,1,149
color053: 180,1,59
color054: 253,1,0
color055: 254,2,0
color056: 248,100,2
color057: 232,134,0
color058: 245,238,0
color059: 162,207,0
color060: 25,118,27
color061: 2,149,216
color062: 0,59,251
color063: 85,1,177
color064: 183,0,188
color065: 226,1,71
color066: 254,0,0
color067: 254,41,0
color068: 253,141,3
color069: 252,183,0
color070: 249,254,1
color071: 182,241,1
color072: 1,187,0
color073: 0,194,255
color074: 0,110,252
color075: 109,0,249
color076: 238,1,253
color077: 254,0,98
color078: 252,13,45
color079: 255,87,16
color080: 246,155,12
color081: 253,188,0
color082: 255,253,28
color083: 203,243,23
color084: 29,215,46
color085: 2,211,252
color086: 50,149,253
color087: 156,1,255
color088: 253,2,253
color089: 252,47,140
color090: 253,94,99
color091: 254,131,89
color092: 255,181,76
color093: 253,205,68
color094: 253,252,100
color095: 213,247,98
color096: 103,226,102
color097: 0,230,254
color098: 129,183,255
color099: 192,97,253
color100: 254,92,255
color101: 254,125,179
color102: 254,151,152
color103: 254,173,146
color104: 254,205,138
color105: 255,218,137
color106: 253,254,152
color107: 231,251,154
color108: 161,236,154
color109: 152,242,251
color110: 188,218,252
color111: 222,182,255
color112: 253,175,251
color113: 254,191,218
color114: 253,203,204
color115: 253,214,199
color116: 254,230,196
color117: 252,239,195
color118: 251,253,204
color119: 239,251,203
color120: 202,237,197
color_pipeline: pipeline_step
3 Likes

Yeah \o/ ! Thank you for all the information to the both of you.

2 Likes