Probably can't use this here, but can likely do it below. There is an array "STATUS_MAP" here https://github.com/fishnetsecurity/Lair/blob/master/app/lib/definitions.js that contains all the possible colors.