Multicolor Blob Codes

Hi!
it looks like I’ll have to track blobs that contain multiple colors for my project. I was looking at the example code, and could not figure out why the blob codes are the numbers that they are.
If I were to pass 4 thresholds, what blob.code() numbers would the combinations be assigned?
Thanks

Please read the docs:

http://docs.openmv.io/library/omv.image.html?highlight=blobs#image.blob.code