fixed getNormalizedColor, fixed color() type