factory PColor.fromJson(Map<String, dynamic> j) => j.containsKey('a') ? PColorRGBA.fromJson(j) : PColorRGB.fromJson(j);