add color permission querying