Limit QuickView to literal color names in some languages

For #6836.
Limits QuickView to only literal color names in JS (including JSON), PHP and CoffeeScript.