Adds variables for hex codes