Skip to main content

GetVehicleCustomPrimaryColor

Returns the vehicle's custom primary color.

C#​

Color NAPI.Vehicle.GetVehicleCustomPrimaryColor(Vehicle vehicle);

Parameters​

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the custom secondary color in Color type.

Example​

Color vehicleColor = NAPI.Vehicle.GetVehicleCustomPrimaryColor(vehicle);