Make sure the length of your elements list and view list match. (element that is on view should be paired with the view)
import clr
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import OverrideGraphicSettings, Color
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
elements = UnwrapElement(IN[0])
rgbcolor = IN[1]
views = UnwrapElement(IN[2])
ogs = OverrideGraphicSettings()
ogs.SetProjectionLineColor(Color(rgbcolor.Red,rgbcolor.Green,rgbcolor.Blue))
TransactionManager.Instance.EnsureInTransaction(doc)
for i, k in zip(elements,views):
k.SetElementOverrides(i.Id, ogs)
TransactionManager.Instance.TransactionTaskDone()
OUT = "Ok"