fix color deserialization bug, and if no alpha, don't serialize as ARGB to avoid issues with html clients that don't support that format.