force color code to 6 hex