We use a Set to store highlighted folder identifiers (paths or UUIDs). A Set provides O(1) lookup and automatic uniqueness.
FHRC:version:folder_hash:color_code:flags folder highlight register code
Table: highlights
If you want, I can generate: