fixed templates and hex-colors to lower case